#A64FD2#A64FD2

#A64FD2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.202 H 312.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A64FD2
RGBrgb(166, 79, 210)
HSLhsl(280, 59%, 57%)
HSVhsv(280, 62%, 82%)
CMYKcmyk(21%, 62.4%, 0%, 17.6%)
CIE-LABlab(49.92, 56.87, -52.92)
CIE-LCHlch(49.92, 77.68, 317.06°)
OKLaboklab(59.28% 0.1363 -0.1489)
OKLCHoklch(59.28% 0.202 312.5)
XYZxyz(30.1527, 18.3529, 62.9144)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD2 #7BD24F
analogous
#654FD2 #A64FD2 #D24FBD
triadic
#A64FD2 #D2A64F #4FD2A6
tetradic
#A64FD2 #D2654F #7BD24F #4FBDD2
square
#A64FD2 #D2654F #7BD24F #4FBDD2
split-complementary
#A64FD2 #BDD24F #4FD265
monochromatic
#642285 #882EB5 #A64FD2 #BF80DE #D7B0EB

Accessibility & contrast

On white

4.50
#A64FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A64FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD2#FFFFFF#000000##000000
##A64FD21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#A16889
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64fd2;
/* rgb */ color: rgb(166, 79, 210);
/* oklch */ color: oklch(59.3% 0.202 312.5);
Tailwind
colors: {
  custom: {
    50: '#c485e0',
    500: '#a64fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd2;
$custom-light: #c485e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd2",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 279.847,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.20183,
    "h": 312.5
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#A64FD2
secondary
#B6D9A4
accent
#E2457A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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