#AC64EA#AC64EA

#AC64EA is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.3% C 0.199 H 306.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AC64EA
RGBrgb(172, 100, 234)
HSLhsl(272, 76%, 65%)
HSVhsv(272, 57%, 92%)
CMYKcmyk(26.5%, 57.3%, 0%, 8.2%)
CIE-LABlab(55.91, 53.19, -56.86)
CIE-LCHlch(55.91, 77.86, 313.09°)
OKLaboklab(64.26% 0.1182 -0.1603)
OKLCHoklch(64.26% 0.199 306.4)
XYZxyz(36.4186, 23.8259, 80.5062)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC64EA #A2EA64
analogous
#6964EA #AC64EA #EA64E5
triadic
#AC64EA #EAAC64 #64EAAC
tetradic
#AC64EA #EA6964 #A2EA64 #64E5EA
square
#AC64EA #EA6964 #A2EA64 #64E5EA
split-complementary
#AC64EA #E5EA64 #64EA69
monochromatic
#7019BA #8F2EE3 #AC64EA #C99AF1 #E6D0F9

Accessibility & contrast

On white

3.64
#AC64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AC64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC64EA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC64EA#FFFFFF#000000##000000
##AC64EA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#4D86E7
Tritanopia (blue-blind)
#A27E9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac64ea;
/* rgb */ color: rgb(172, 100, 234);
/* oklch */ color: oklch(64.3% 0.199 306.4);
Tailwind
colors: {
  custom: {
    50: '#c893f1',
    500: '#ac64ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac64ea;
$custom-light: #c893f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac64ea",
  "rgb": {
    "r": 172,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 272.239,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.19917,
    "h": 306.4
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#AC64EA
secondary
#D3EBBE
accent
#D80D6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AC64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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