#AC64E7#AC64E7

#AC64E7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.1% C 0.196 H 307.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AC64E7
RGBrgb(172, 100, 231)
HSLhsl(273, 73%, 65%)
HSVhsv(273, 57%, 91%)
CMYKcmyk(25.5%, 56.7%, 0%, 9.4%)
CIE-LABlab(55.74, 52.51, -55.46)
CIE-LCHlch(55.74, 76.37, 313.43°)
OKLaboklab(64.07% 0.1181 -0.1562)
OKLCHoklch(64.07% 0.196 307.1)
XYZxyz(35.9913, 23.6549, 78.2556)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC64E7 #9FE764
analogous
#6B64E7 #AC64E7 #E764E0
triadic
#AC64E7 #E7AC64 #64E7AC
tetradic
#AC64E7 #E76B64 #9FE764 #64E0E7
square
#AC64E7 #E76B64 #9FE764 #64E0E7
split-complementary
#AC64E7 #E0E764 #64E76B
monochromatic
#701CB5 #902FDF #AC64E7 #C899EF #E5CEF7

Accessibility & contrast

On white

3.66
#AC64E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#AC64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC64E7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC64E7#FFFFFF#000000##000000
##AC64E71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#A37D9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac64e7;
/* rgb */ color: rgb(172, 100, 231);
/* oklch */ color: oklch(64.1% 0.196 307.1);
Tailwind
colors: {
  custom: {
    50: '#c893ef',
    500: '#ac64e7',
    950: '#000000',
  },
}
SCSS
$custom: #ac64e7;
$custom-light: #c893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ac64e7",
  "rgb": {
    "r": 172,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 272.977,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64073,
    "c": 0.19584,
    "h": 307.1
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#AC64E7
secondary
#D1EABD
accent
#D51069
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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