#AC72E2#AC72E2

#AC72E2 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.169 H 306.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AC72E2
RGBrgb(172, 114, 226)
HSLhsl(271, 66%, 67%)
HSVhsv(271, 50%, 89%)
CMYKcmyk(23.9%, 49.6%, 0%, 11.4%)
CIE-LABlab(58.32, 43.94, -48.56)
CIE-LCHlch(58.32, 65.49, 312.14°)
OKLaboklab(65.89% 0.0997 -0.1361)
OKLCHoklch(65.89% 0.169 306.2)
XYZxyz(36.7552, 26.2966, 75.0762)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72E2 #A8E272
analogous
#7472E2 #AC72E2 #E272E0
triadic
#AC72E2 #E2AC72 #72E2AC
tetradic
#AC72E2 #E27472 #A8E272 #72E0E2
square
#AC72E2 #E27472 #A8E272 #72E0E2
split-complementary
#AC72E2 #E0E272 #72E274
monochromatic
#6F25B4 #8E3FD8 #AC72E2 #CAA5EC #E8D8F7

Accessibility & contrast

On white

3.36
#AC72E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AC72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72E2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72E2#FFFFFF#000000##000000
##AC72E21.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#628DDF
Tritanopia (blue-blind)
#A486A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac72e2;
/* rgb */ color: rgb(172, 114, 226);
/* oklch */ color: oklch(65.9% 0.169 306.2);
Tailwind
colors: {
  custom: {
    50: '#c79ceb',
    500: '#ac72e2',
    950: '#000000',
  },
}
SCSS
$custom: #ac72e2;
$custom-light: #c79ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72e2",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 271.071,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65887,
    "c": 0.1687,
    "h": 306.2
  },
  "luminance": 0.26296
}

Semantic roles & 50–950 ramp

primary
#AC72E2
secondary
#D7EAC6
accent
#CE1870
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AC72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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