#A64EA1#A64EA1

#A64EA1 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.4% C 0.156 H 329.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A64EA1
RGBrgb(166, 78, 161)
HSLhsl(303, 36%, 48%)
HSVhsv(303, 53%, 65%)
CMYKcmyk(0%, 53%, 3%, 34.9%)
CIE-LABlab(47.15, 47.68, -28.80)
CIE-LCHlch(47.15, 55.70, 328.87°)
OKLaboklab(56.41% 0.1343 -0.0788)
OKLCHoklch(56.41% 0.156 329.6)
XYZxyz(24.8830, 16.1305, 35.5142)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EA1 #4EA653
analogous
#7F4EA6 #A64EA1 #A64E75
triadic
#A64EA1 #A1A64E #4EA1A6
tetradic
#A64EA1 #A67F4E #4EA653 #4E75A6
square
#A64EA1 #A67F4E #4EA653 #4E75A6
split-complementary
#A64EA1 #75A64E #4EA67F
monochromatic
#532750 #7C3A79 #A64EA1 #BE74B9 #D19DCE

Accessibility & contrast

On white

4.97
#A64EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A64EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EA1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EA1#FFFFFF#000000##FFFFFF
##A64EA11.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#AB5670
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64ea1;
/* rgb */ color: rgb(166, 78, 161);
/* oklch */ color: oklch(56.4% 0.156 329.6);
Tailwind
colors: {
  custom: {
    50: '#c384bd',
    500: '#a64ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a64ea1;
$custom-light: #c384bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ea1",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 303.409,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.15577,
    "h": 329.6
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#A64EA1
secondary
#92BE94
accent
#CC625C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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