#AC64E4#AC64E4

#AC64E4 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.193 H 307.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AC64E4
RGBrgb(172, 100, 228)
HSLhsl(274, 70%, 64%)
HSVhsv(274, 56%, 89%)
CMYKcmyk(24.6%, 56.1%, 0%, 10.6%)
CIE-LABlab(55.57, 51.83, -54.05)
CIE-LCHlch(55.57, 74.88, 313.80°)
OKLaboklab(63.89% 0.1181 -0.1521)
OKLCHoklch(63.89% 0.193 307.8)
XYZxyz(35.5712, 23.4869, 76.0433)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC64E4 #9CE464
analogous
#6C64E4 #AC64E4 #E464DC
triadic
#AC64E4 #E4AC64 #64E4AC
tetradic
#AC64E4 #E46C64 #9CE464 #64DCE4
square
#AC64E4 #E46C64 #9CE464 #64DCE4
split-complementary
#AC64E4 #DCE464 #64E46C
monochromatic
#701FAF #9030DB #AC64E4 #C898ED #E4CCF6

Accessibility & contrast

On white

3.69
#AC64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AC64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC64E4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC64E4#FFFFFF#000000##000000
##AC64E41.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E8
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#A47C9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac64e4;
/* rgb */ color: rgb(172, 100, 228);
/* oklch */ color: oklch(63.9% 0.193 307.8);
Tailwind
colors: {
  custom: {
    50: '#c893ed',
    500: '#ac64e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac64e4;
$custom-light: #c893ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac64e4",
  "rgb": {
    "r": 172,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 273.75,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.19252,
    "h": 307.8
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#AC64E4
secondary
#CFE8BC
accent
#D21367
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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