#A64CD9#A64CD9

#A64CD9 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.213 H 310.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A64CD9
RGBrgb(166, 76, 217)
HSLhsl(278, 65%, 57%)
HSVhsv(278, 65%, 85%)
CMYKcmyk(23.5%, 65%, 0%, 14.9%)
CIE-LABlab(49.84, 59.75, -57.05)
CIE-LCHlch(49.84, 82.61, 316.33°)
OKLaboklab(59.36% 0.1394 -0.1609)
OKLCHoklch(59.36% 0.213 310.9)
XYZxyz(30.8324, 18.2863, 67.5376)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CD9 #7FD94C
analogous
#604CD9 #A64CD9 #D94CC5
triadic
#A64CD9 #D9A64C #4CD9A6
tetradic
#A64CD9 #D9604C #7FD94C #4CC5D9
square
#A64CD9 #D9604C #7FD94C #4CC5D9
split-complementary
#A64CD9 #C5D94C #4CD960
monochromatic
#651E8D #8929BF #A64CD9 #BF7EE4 #D8B1EE

Accessibility & contrast

On white

4.51
#A64CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A64CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CD9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CD9#FFFFFF#000000##000000
##A64CD91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#A0688C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64cd9;
/* rgb */ color: rgb(166, 76, 217);
/* oklch */ color: oklch(59.4% 0.213 310.9);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a64cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a64cd9;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cd9",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 278.298,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.21294,
    "h": 310.9
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#A64CD9
secondary
#B9DDA4
accent
#E8407D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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