#A64DC5#A64DC5

#A64DC5 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.192 H 316.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A64DC5
RGBrgb(166, 77, 197)
HSLhsl(285, 51%, 54%)
HSVhsv(285, 61%, 77%)
CMYKcmyk(15.7%, 60.9%, 0%, 22.7%)
CIE-LABlab(48.82, 55.10, -47.22)
CIE-LCHlch(48.82, 72.56, 319.41°)
OKLaboklab(58.24% 0.1388 -0.1322)
OKLCHoklch(58.24% 0.192 316.4)
XYZxyz(28.4563, 17.4470, 54.6811)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DC5 #6CC54D
analogous
#6A4DC5 #A64DC5 #C54DA8
triadic
#A64DC5 #C5A64D #4DC5A6
tetradic
#A64DC5 #C56A4D #6CC54D #4DA8C5
square
#A64DC5 #C56A4D #6CC54D #4DA8C5
split-complementary
#A64DC5 #A8C54D #4DC56A
monochromatic
#5E2572 #8534A0 #A64DC5 #BD7BD4 #D4A9E3

Accessibility & contrast

On white

4.68
#A64DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A64DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DC5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DC5#FFFFFF#000000##FFFFFF
##A64DC51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC9
Deuteranopia (green-blind)
#4E77C2
Tritanopia (blue-blind)
#A46282
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64dc5;
/* rgb */ color: rgb(166, 77, 197);
/* oklch */ color: oklch(58.2% 0.192 316.4);
Tailwind
colors: {
  custom: {
    50: '#c384d7',
    500: '#a64dc5',
    950: '#000000',
  },
}
SCSS
$custom: #a64dc5;
$custom-light: #c384d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dc5",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 284.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.19163,
    "h": 316.4
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#A64DC5
secondary
#AAD19D
accent
#DA4D72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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