#A64DE8#A64DE8

#A64DE8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.227 H 307.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A64DE8
RGBrgb(166, 77, 232)
HSLhsl(274, 77%, 61%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(28.4%, 66.8%, 0%, 9%)
CIE-LABlab(50.97, 62.56, -63.73)
CIE-LCHlch(50.97, 89.30, 314.47°)
OKLaboklab(60.48% 0.1371 -0.1806)
OKLCHoklch(60.48% 0.227 307.2)
XYZxyz(32.9422, 19.2413, 78.3068)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DE8 #8FE84D
analogous
#594DE8 #A64DE8 #E84DDC
triadic
#A64DE8 #E8A64D #4DE8A6
tetradic
#A64DE8 #E8594D #8FE84D #4DDCE8
square
#A64DE8 #E8594D #8FE84D #4DDCE8
split-complementary
#A64DE8 #DCE84D #4DE859
monochromatic
#6815A5 #8A1CDB #A64DE8 #C183EF #DCB9F6

Accessibility & contrast

On white

4.33
#A64DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A64DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DE8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DE8#FFFFFF#000000##000000
##A64DE81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#277AE5
Tritanopia (blue-blind)
#9B6F95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64de8;
/* rgb */ color: rgb(166, 77, 232);
/* oklch */ color: oklch(60.5% 0.227 307.2);
Tailwind
colors: {
  custom: {
    50: '#c585f0',
    500: '#a64de8',
    950: '#000000',
  },
}
SCSS
$custom: #a64de8;
$custom-light: #c585f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64de8",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 274.452,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.22672,
    "h": 307.2
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#A64DE8
secondary
#C4E6AB
accent
#D90C64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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