#AC72EF#AC72EF

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

Color values

HEX#AC72EF
RGBrgb(172, 114, 239)
HSLhsl(268, 80%, 69%)
HSVhsv(268, 52%, 94%)
CMYKcmyk(28%, 52.3%, 0%, 6.3%)
CIE-LABlab(59.01, 46.98, -54.71)
CIE-LCHlch(59.01, 72.11, 310.65°)
OKLaboklab(66.62% 0.1008 -0.154)
OKLCHoklch(66.62% 0.184 303.2)
XYZxyz(38.6071, 27.0373, 84.8294)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72EF #B5EF72
analogous
#7277EF #AC72EF #EB72EF
triadic
#AC72EF #EFAC72 #72EFAC
tetradic
#AC72EF #EF7277 #B5EF72 #72EFEB
square
#AC72EF #EF7277 #B5EF72 #72EFEB
split-complementary
#AC72EF #EFEB72 #77EF72
monochromatic
#6D18CF #8C3BE9 #AC72EF #CCA9F5 #EDE0FB

Accessibility & contrast

On white

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

On black

6.41
#AC72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72EF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72EF#FFFFFF#000000##000000
##AC72EF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#A089A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ac72ef;
/* rgb */ color: rgb(172, 114, 239);
/* oklch */ color: oklch(66.6% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#c89cf5',
    500: '#ac72ef',
    950: '#000000',
  },
}
SCSS
$custom: #ac72ef;
$custom-light: #c89cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72ef",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 267.84,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66624,
    "c": 0.18407,
    "h": 303.2
  },
  "luminance": 0.27037
}

Semantic roles & 50–950 ramp

primary
#AC72EF
secondary
#E0F1CC
accent
#DC0A7A
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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