#A64EA2#A64EA2

#A64EA2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.5% C 0.157 H 329.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A64EA2
RGBrgb(166, 78, 162)
HSLhsl(303, 36%, 48%)
HSVhsv(303, 53%, 65%)
CMYKcmyk(0%, 53%, 2.4%, 34.9%)
CIE-LABlab(47.19, 47.86, -29.32)
CIE-LCHlch(47.19, 56.13, 328.51°)
OKLaboklab(56.46% 0.1345 -0.0803)
OKLCHoklch(56.46% 0.157 329.1)
XYZxyz(24.9716, 16.1659, 35.9805)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EA2 #4EA652
analogous
#7E4EA6 #A64EA2 #A64E76
triadic
#A64EA2 #A2A64E #4EA2A6
tetradic
#A64EA2 #A67E4E #4EA652 #4E76A6
square
#A64EA2 #A67E4E #4EA652 #4E76A6
split-complementary
#A64EA2 #76A64E #4EA67E
monochromatic
#532751 #7C3A79 #A64EA2 #BE74BA #D19DCF

Accessibility & contrast

On white

4.96
#A64EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A64EA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EA2#FFFFFF#000000##FFFFFF
##A64EA21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#AB5771
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64ea2;
/* rgb */ color: rgb(166, 78, 162);
/* oklch */ color: oklch(56.5% 0.157 329.1);
Tailwind
colors: {
  custom: {
    50: '#c384be',
    500: '#a64ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ea2;
$custom-light: #c384be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ea2",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 302.727,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.15667,
    "h": 329.1
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A64EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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