#AC72EB#AC72EB

#AC72EB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.179 H 304.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AC72EB
RGBrgb(172, 114, 235)
HSLhsl(269, 75%, 68%)
HSVhsv(269, 51%, 92%)
CMYKcmyk(26.8%, 51.5%, 0%, 7.8%)
CIE-LABlab(58.79, 46.04, -52.83)
CIE-LCHlch(58.79, 70.07, 311.07°)
OKLaboklab(66.39% 0.1005 -0.1485)
OKLCHoklch(66.39% 0.179 304.1)
XYZxyz(38.0227, 26.8036, 81.7516)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC72EB #B1EB72
analogous
#7274EB #AC72EB #E872EB
triadic
#AC72EB #EBAC72 #72EBAC
tetradic
#AC72EB #EB7274 #B1EB72 #72EBE8
square
#AC72EB #EB7274 #B1EB72 #72EBE8
split-complementary
#AC72EB #EBE872 #74EB72
monochromatic
#6E1CC6 #8C3CE3 #AC72EB #CCA8F3 #EBDDFA

Accessibility & contrast

On white

3.30
#AC72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AC72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC72EB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC72EB#FFFFFF#000000##000000
##AC72EB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#A188A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac72eb;
/* rgb */ color: rgb(172, 114, 235);
/* oklch */ color: oklch(66.4% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#c89cf2',
    500: '#ac72eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac72eb;
$custom-light: #c89cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac72eb",
  "rgb": {
    "r": 172,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 268.76,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66393,
    "c": 0.17934,
    "h": 304.1
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#AC72EB
secondary
#DDEFCA
accent
#D70E77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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