#A64FD9#A64FD9

#A64FD9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.209 H 310.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A64FD9
RGBrgb(166, 79, 217)
HSLhsl(278, 64%, 58%)
HSVhsv(278, 64%, 85%)
CMYKcmyk(23.5%, 63.6%, 0%, 14.9%)
CIE-LABlab(50.35, 58.36, -56.24)
CIE-LCHlch(50.35, 81.05, 316.06°)
OKLaboklab(59.72% 0.136 -0.1586)
OKLCHoklch(59.72% 0.209 310.6)
XYZxyz(31.0439, 18.7094, 67.6081)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD9 #82D94F
analogous
#614FD9 #A64FD9 #D94FC7
triadic
#A64FD9 #D9A64F #4FD9A6
tetradic
#A64FD9 #D9614F #82D94F #4FC7D9
square
#A64FD9 #D9614F #82D94F #4FC7D9
split-complementary
#A64FD9 #C7D94F #4FD961
monochromatic
#651F8F #892AC1 #A64FD9 #BF81E4 #D9B4EF

Accessibility & contrast

On white

4.43
#A64FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A64FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD9#FFFFFF#000000##000000
##A64FD91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3F79D6
Tritanopia (blue-blind)
#9F6A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64fd9;
/* rgb */ color: rgb(166, 79, 217);
/* oklch */ color: oklch(59.7% 0.209 310.6);
Tailwind
colors: {
  custom: {
    50: '#c485e5',
    500: '#a64fd9',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd9;
$custom-light: #c485e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd9",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 277.826,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.20894,
    "h": 310.6
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#A64FD9
secondary
#BBDDA6
accent
#E7407E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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