#A64FA9#A64FA9

#A64FA9 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.161 H 326.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A64FA9
RGBrgb(166, 79, 169)
HSLhsl(298, 36%, 49%)
HSVhsv(298, 53%, 66%)
CMYKcmyk(1.8%, 53.3%, 0%, 33.7%)
CIE-LABlab(47.71, 48.65, -32.65)
CIE-LCHlch(47.71, 58.59, 326.14°)
OKLaboklab(56.95% 0.1341 -0.0899)
OKLCHoklch(56.95% 0.161 326.2)
XYZxyz(25.6828, 16.5649, 39.3730)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FA9 #52A94F
analogous
#794FA9 #A64FA9 #A94F7F
triadic
#A64FA9 #A9A64F #4FA9A6
tetradic
#A64FA9 #A9794F #52A94F #4F7FA9
square
#A64FA9 #A9794F #52A94F #4F7FA9
split-complementary
#A64FA9 #7FA94F #4FA979
monochromatic
#542856 #7D3C7F #A64FA9 #BD76BF #D1A0D3

Accessibility & contrast

On white

4.87
#A64FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A64FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FA9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FA9#FFFFFF#000000##FFFFFF
##A64FA91.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAC
Deuteranopia (green-blind)
#6075A6
Tritanopia (blue-blind)
#AA5A75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64fa9;
/* rgb */ color: rgb(166, 79, 169);
/* oklch */ color: oklch(57.0% 0.161 326.2);
Tailwind
colors: {
  custom: {
    50: '#c384c3',
    500: '#a64fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a64fa9;
$custom-light: #c384c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fa9",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 298,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.16146,
    "h": 326.2
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#A64FA9
secondary
#96C094
accent
#CC5C5F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64FA9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A64FA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva