#AC72EE#AC72EE

#AC72EE is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.183 H 303.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AC72EE
RGBrgb(172, 114, 238)
HSLhsl(268, 78%, 69%)
HSVhsv(268, 52%, 93%)
CMYKcmyk(27.7%, 52.1%, 0%, 6.7%)
CIE-LABlab(58.95, 46.74, -54.24)
CIE-LCHlch(58.95, 71.60, 310.76°)
OKLaboklab(66.57% 0.1007 -0.1527)
OKLCHoklch(66.57% 0.183 303.4)
XYZxyz(38.4598, 26.9784, 84.0535)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72EE #B4EE72
analogous
#7276EE #AC72EE #EA72EE
triadic
#AC72EE #EEAC72 #72EEAC
tetradic
#AC72EE #EE7276 #B4EE72 #72EEEA
square
#AC72EE #EE7276 #B4EE72 #72EEEA
split-complementary
#AC72EE #EEEA72 #76EE72
monochromatic
#6D19CD #8C3BE7 #AC72EE #CCA9F5 #ECDFFB

Accessibility & contrast

On white

3.28
#AC72EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AC72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72EE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72EE#FFFFFF#000000##000000
##AC72EE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#A089A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac72ee;
/* rgb */ color: rgb(172, 114, 238);
/* oklch */ color: oklch(66.6% 0.183 303.4);
Tailwind
colors: {
  custom: {
    50: '#c89cf4',
    500: '#ac72ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac72ee;
$custom-light: #c89cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72ee",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 268.065,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66566,
    "c": 0.18289,
    "h": 303.4
  },
  "luminance": 0.26978
}

Semantic roles & 50–950 ramp

primary
#AC72EE
secondary
#DFF0CC
accent
#DB0B79
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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