#AB72EA#AB72EA

#AB72EA is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.178 H 303.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB72EA
RGBrgb(171, 114, 234)
HSLhsl(269, 74%, 68%)
HSVhsv(269, 51%, 92%)
CMYKcmyk(26.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(58.63, 45.55, -52.53)
CIE-LCHlch(58.63, 69.52, 310.93°)
OKLaboklab(66.23% 0.0992 -0.1477)
OKLCHoklch(66.23% 0.178 303.9)
XYZxyz(37.6599, 26.6332, 80.9827)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72EA #B1EA72
analogous
#7275EA #AB72EA #E772EA
triadic
#AB72EA #EAAB72 #72EAAB
tetradic
#AB72EA #EA7275 #B1EA72 #72EAE7
square
#AB72EA #EA7275 #B1EA72 #72EAE7
split-complementary
#AB72EA #EAE772 #75EA72
monochromatic
#6D1DC4 #8B3DE2 #AB72EA #CBA7F2 #EADDFA

Accessibility & contrast

On white

3.32
#AB72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AB72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72EA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72EA#FFFFFF#000000##000000
##AB72EA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#A088A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab72ea;
/* rgb */ color: rgb(171, 114, 234);
/* oklch */ color: oklch(66.2% 0.178 303.9);
Tailwind
colors: {
  custom: {
    50: '#c79cf1',
    500: '#ab72ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ea;
$custom-light: #c79cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ea",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 268.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66234,
    "c": 0.17791,
    "h": 303.9
  },
  "luminance": 0.26633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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