#A64DC2#A64DC2

#A64DC2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.189 H 317.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A64DC2
RGBrgb(166, 77, 194)
HSLhsl(286, 49%, 53%)
HSVhsv(286, 60%, 76%)
CMYKcmyk(14.4%, 60.3%, 0%, 23.9%)
CIE-LABlab(48.65, 54.49, -45.75)
CIE-LCHlch(48.65, 71.15, 319.98°)
OKLaboklab(58.06% 0.1387 -0.1279)
OKLCHoklch(58.06% 0.189 317.3)
XYZxyz(28.1160, 17.3109, 52.8888)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DC2 #69C24D
analogous
#6B4DC2 #A64DC2 #C24DA3
triadic
#A64DC2 #C2A64D #4DC2A6
tetradic
#A64DC2 #C26B4D #69C24D #4DA3C2
square
#A64DC2 #C26B4D #69C24D #4DA3C2
split-complementary
#A64DC2 #A3C24D #4DC26B
monochromatic
#5D266F #84369C #A64DC2 #BD7BD2 #D4A8E1

Accessibility & contrast

On white

4.71
#A64DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A64DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DC2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DC2#FFFFFF#000000##FFFFFF
##A64DC21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#A56180
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64dc2;
/* rgb */ color: rgb(166, 77, 194);
/* oklch */ color: oklch(58.1% 0.189 317.3);
Tailwind
colors: {
  custom: {
    50: '#c384d5',
    500: '#a64dc2',
    950: '#000000',
  },
}
SCSS
$custom: #a64dc2;
$custom-light: #c384d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dc2",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 285.641,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.18867,
    "h": 317.3
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#A64DC2
secondary
#A8CF9C
accent
#D94F70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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