#AC72EA#AC72EA

#AC72EA is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.178 H 304.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AC72EA
RGBrgb(172, 114, 234)
HSLhsl(269, 74%, 68%)
HSVhsv(269, 51%, 92%)
CMYKcmyk(26.5%, 51.3%, 0%, 8.2%)
CIE-LABlab(58.74, 45.80, -52.35)
CIE-LCHlch(58.74, 69.56, 311.18°)
OKLaboklab(66.34% 0.1004 -0.1472)
OKLCHoklch(66.34% 0.178 304.3)
XYZxyz(37.8786, 26.7459, 80.9929)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72EA #B0EA72
analogous
#7274EA #AC72EA #E872EA
triadic
#AC72EA #EAAC72 #72EAAC
tetradic
#AC72EA #EA7274 #B0EA72 #72EAE8
square
#AC72EA #EA7274 #B0EA72 #72EAE8
split-complementary
#AC72EA #EAE872 #74EA72
monochromatic
#6E1DC4 #8D3DE2 #AC72EA #CBA7F2 #EBDDFA

Accessibility & contrast

On white

3.31
#AC72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AC72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72EA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72EA#FFFFFF#000000##000000
##AC72EA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#5D8DE7
Tritanopia (blue-blind)
#A188A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac72ea;
/* rgb */ color: rgb(172, 114, 234);
/* oklch */ color: oklch(66.3% 0.178 304.3);
Tailwind
colors: {
  custom: {
    50: '#c89cf1',
    500: '#ac72ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac72ea;
$custom-light: #c89cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72ea",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 269,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.17816,
    "h": 304.3
  },
  "luminance": 0.26746
}

Semantic roles & 50–950 ramp

primary
#AC72EA
secondary
#DDEECA
accent
#D60F76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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