Closest web-safe match: #996699

Color Details and Palettes for #A27FA5

Details about the color Heart Potion#A27FA5

Conversions, palettes, contrast & design ideas for this color.

Magenta family Cool WCAG ink: dark
HEX #A27FA5 RGB rgb(162, 127, 165) HSL hsl(295, 17%, 57%) CMYK cmyk(2%, 23%, 0%, 35%)

Color profile

About Color Hex #A27FA5

#A27FA5 is a cool color from the Magenta family, closest in name to “Heart Potion”. In RGB it is rgb(162, 127, 165); in HSL, hsl(295, 17%, 57%).

The color Heart Potion, with hexadecimal code #a27fa5, lands in the purple family, historically reserved for royalty due to the extreme cost of Tyrian dye. Purple activates imagination and spiritual contemplation, blending red's passion with blue's serenity. Additionally, it evokes emotions such as Softness, Delicacy, Calmness, Relaxation and Friendliness. Purple is often linked to creativity, luxury, and spirituality. In Western cultures, it is also associated with ambition and wealth. Indigo and violet have long signified royalty and nobility. At just 17% saturation, this near-neutral shade carries only a subtle hint of its underlying hue, making it versatile for large surfaces and professional contexts. With a mid-range lightness of 57%, it offers excellent versatility—readable as text on light backgrounds and visible as an element on dark ones. This color is ideal for designs that aim to express Softness, Delicacy, Calmness, Relaxation, or Friendliness. It can be effectively used in web design, branding, and marketing materials to attract attention and convey specific messages.

Key facts

RGB 162, 127, 165 red · green · blue HSL 295° 17% 57% hue · sat · light HSV 295° 23% 65% design-app pickers CMYK 2 23 0 35 print inks, % Luminance 0.256 0 dark → 1 light On black 6.12:1 ✓ AA contrast ratio On white 3.43:1 ✕ AA contrast ratio Web-safe #996699 closest web-safe Best text black ideal foreground Character Vivid cool · magenta family

The story of this color

History, Usage, Psychology & Design Ideas for #A27FA5

Heart Potion (#A27FA5) belongs to the Magenta color family.

With a dusty, low-saturation character, this color offers quiet complexity—neither bold nor faded. Dusty tones add vintage charm to retro-inspired designs and pair beautifully with metallic accents like copper or brass.

Historical Background

Magenta was named after the Battle of Magenta (1859) in Italy, coinciding with the discovery of the first aniline dye of that hue. This synthetic breakthrough launched the modern chemical-dye industry, making vibrant colors accessible to the masses. In the CMYK model, magenta is a primary ink—without it, printers cannot reproduce the warm half of the color spectrum.

Design & Usage Tips

Magenta commands attention and conveys boldness, making it ideal for fashion, entertainment, and disruptive tech brands (T-Mobile's signature magenta is a prime example). Pair it with charcoal or dark teal for grounding, or with lime for an electric, festival-style palette. Magenta headlines on white backgrounds create instant visual impact.

Sitting on the cool side of the spectrum (hue 295°), it promotes a feeling of calm distance and intellectual clarity, which is why cool hues dominate corporate identities, healthcare design, and productivity tools. With only 17% saturation, this near-neutral shade carries just a hint of its underlying hue—subtle enough for large surfaces yet adding more warmth (or coolness) than a pure gray.

Psychological Impact

Magenta blends red's energy with purple's creativity, producing a color that feels both passionate and unconventional. It signals confidence, non-conformity, and emotional expressiveness. In UX, magenta accent colors can highlight premium features or creative tools.

With a mid-range lightness of 57%, this tone is highly versatile: dark enough to serve as body text on white, yet light enough to stand out on charcoal or navy backgrounds.

Creative Design Ideas

Use magenta as a gradient endpoint (blue-to-magenta) for modern SaaS branding. Create neon-magenta-on-black compositions for nightlife and music event promotion. In e-commerce, magenta 'New' or 'Hot' badges draw the eye to featured products.

Every format

#A27FA5 Color Conversions

Every way to write Heart Potion — one-tap copy on every format; tap on any card to learn what it is and when to use it.

12 formats
HEX Web
#A27FA5

Hexadecimal is the web’s universal color notation — two digits each for red, green and blue. Drop it straight into HTML, CSS or any design tool.

RGB Screen
rgb(162, 127, 165)

RGB is the additive Red-Green-Blue model every screen uses to emit light. The default choice for websites, apps and on-screen UI.

HSL Web
hsl(295, 17%, 57%)

HSL breaks a color into Hue, Saturation and Lightness — the most intuitive way to lighten, darken or mute a color in CSS.

HSV HSB Design
hsv(295, 23%, 65%)

HSV (also called HSB) maps Hue, Saturation and Value/Brightness. It is the model behind the color pickers in Photoshop, Figma and most design apps.

HWB CSS 4
hwb(295 50% 35%)

HWB blends a pure hue with Whiteness and Blackness — a painter-friendly model added in CSS Color 4 for quick tints and shades.

CMYK Print
cmyk(2%, 23%, 0%, 35%)

CMYK is the subtractive Cyan-Magenta-Yellow-Black ink model. Use these values when preparing artwork for a printer or commercial press.

OKLCH Modern
oklch(64.27% 0.069 323.75)

OKLCH is a modern, perceptually-uniform space (Lightness, Chroma, Hue). It powers smooth gradients and accessible palettes in today’s CSS.

OKLab Modern
oklab(64.27% 0.055 -0.041)

OKLab is the Cartesian form of OKLCH — ideal for blending and interpolating colors without the muddy midpoints older spaces produce.

CIELAB L*a*b* Perceptual
L: 57.63, a: 20.31, b: -15.07

CIELAB is a device-independent, perceptually-uniform space. It is the standard for measuring color difference (ΔE) and matching across devices.

LCH Perceptual
L: 57.63, C: 25.29, H: 323.42

LCH is CIELAB in cylindrical form — Lightness, Chroma and Hue — letting you adjust vividness and hue while staying perceptually even.

XYZ CIE Science
X: 29.28, Y: 25.58, Z: 38.99

CIE XYZ is the 1931 master space that underpins every other model here — the scientific bridge used to convert between color systems.

Decimal int Code
10649509

The 24-bit integer value of the color — handy for databases, APIs, game engines and low-level graphics code.

Channel breakdown

RGB Color Percentages for #A27FA5

How much red, green and blue light mixes into Heart Potion.

Red 162/255 35.7% Green 127/255 28.0% Blue 165/255 36.3%

Percentages show each channel's share of the total light (R + G + B) in Heart Potion.

Ink coverage

CMYK Ink Levels & Print Guide for #A27FA5

Ink needed to reproduce Heart Potion in four-color print. Heaviest ink: Key (Black).

2% CYAN 23% MAGENTA 0% YELLOW 35% KEY

Print tip: treat these values as a starting point — final output depends on printer profile, paper stock and calibration.

Accessibility · WCAG

Luminance & Contrast for #A27FA5

How bright Heart Potion is, and how far black and white text clear each WCAG bar.

Relative luminance 0.256
0 · dark1 · light

Contrast ratio · 1:1 → 21:1 (log scale)

Aa Black text 6.12:1 ✓ AA ✕ AAA ✓ Large
Aa White text 3.43:1 ✕ AA ✕ AAA ✓ Large

Developer shortcuts

Quick CSS Snippets for #A27FA5

Copy-and-paste CSS for Heart Potion — per-line copy, or grab the whole block.

heart-potion.css
background-color: #A27FA5;
color: #A27FA5;
border: 2px solid #A27FA5;
background-color: rgb(162, 127, 165);
background-color: hsl(295, 17%, 57%);
--color: #A27FA5;

Shades · light to dark

#A27FA5 Monochrome Palette

Lighter and darker steps of Heart Potion — the color's full brightness range in one strip.

#F6F2F6
#E8DFE9
#DACCDB
#CCB9CE
#BEA5C0
#B092B3
#A27FA5
#8A6C8C
#715973
#59465B
#413342
#292029
#100D11

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 180° apart

#A27FA5 Complementary Palette

Two colors opposite on the wheel — maximum contrast for attention-grabbing accents.

#A27FA5
#82A47F

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · adjacent hues

#A27FA5 Analogic Palette

Neighboring hues on the wheel — harmonious, calm combinations that feel unified.

#A27FA5
#A47F94
#8E7FA4
#A47F82
#7F82A4
#A48E7F
#7F94A4

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 120° apart

#A27FA5 Triadic Palette

Three colors evenly spaced on the wheel — vibrant and energetic, yet balanced.

#A27FA5
#A4A17F
#7FA4A1

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Harmony · 90° apart

#A27FA5 Quad Palette

Four colors evenly spaced on the wheel (tetradic) — rich schemes with multiple accents.

#A27FA5
#A48E7F
#82A47F
#7F94A4

The dot marks the original color. Hover any shade to copy its hex or open its color page.

Accessibility

Color Blindness Simulation for #A27FA5

How Heart Potion reads across five kinds of color vision — a ✓ Friendly verdict means the color difference stays distinguishable for that vision type.

#A27FA5
#95979A
#93939C
#A09593
#898989
Normal vision full color Deuteranopia green weakness ✓ Friendly Protanopia red weakness ✓ Friendly Tritanopia blue-yellow weakness ✓ Friendly Achromatopsia total color blindness ✓ Friendly

The dot marks the original color. Hover any shade to copy its hex.

Harmony overview

Color Harmonies for #A27FA5

The lead color from each harmony scheme, side by side — a shortcut to the full palettes above.

#82A47F
#A47F94
#A4A17F
#A48E7F
Complementary opposite hue Analogous adjacent hue Triadic 120° apart Tetradic (Quad) 90° apart

Perceptually nearby

#A27FA5 Nearby Colors

A step away in brightness, richness or shade — each still feels like the same color.

Fleur-De-Lis#AA88BB
Drama Queen#997799
Turnip Crown#BB99CC
Sunshone Plum#886688
Berries Galore#AA77AA
Femme Fatale#998899
Drama Queen#AA7799
Wizard’s Brew#9988AA

From the color-name library

Colors Similar to #A27FA5

The closest named colors to #A27FA5 — same mood, each with its own character.

Heart Potion#A97FB1
Berries Galore#AB7CB4
Drama Queen#A37298
Amorous#967D96
Voila!#AF8BA8
Metal Petal#B090B2
Romanov Mauve#B97DA8
Hatoba Pigeon#95859C
Wizard’s Brew#A090B8
Muted Berry#91788C
La la Love#BF90BB
Mauve Magic#BF91B2

Looking for more Purple shades? Browse Purple colors →

Inspiration

Explore Vibrant Images Featuring Heart Potion (#a27fa5)

Curated Unsplash photos that carry the mood of Heart Potion — hover any tile to download it or view the original.

Good to know

Frequently Asked Questions about #A27FA5

#A27FA5 is a cool color from the Magenta family. Its closest matched name is “Heart Potion”, matched perceptually with the CIEDE2000 color-difference formula. In RGB it is rgb(162, 127, 165); in HSL, hsl(295, 17%, 57%).
In RGB, #A27FA5 is rgb(162, 127, 165); in HSL it is hsl(295, 17%, 57%); and in CMYK — the model used for print — it is cmyk(2%, 23%, 0%, 35%).
#A27FA5 has a contrast ratio of 6.12:1 against black and 3.43:1 against white. For readability, black body text meets the WCAG AA threshold of 4.5:1 on it, while white does not.
The direct complement of #A27FA5 is #82A47F (opposite on the color wheel). For ready-made combinations, this page includes monochrome, analogous, triadic and tetradic palettes built from #A27FA5 in the palette sections above.