#AB72EB#AB72EB

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

Color values

HEX#AB72EB
RGBrgb(171, 114, 235)
HSLhsl(268, 75%, 68%)
HSVhsv(268, 51%, 92%)
CMYKcmyk(27.2%, 51.5%, 0%, 7.8%)
CIE-LABlab(58.69, 45.78, -53.00)
CIE-LCHlch(58.69, 70.04, 310.82°)
OKLaboklab(66.29% 0.0993 -0.1491)
OKLCHoklch(66.29% 0.179 303.7)
XYZxyz(37.8040, 26.6908, 81.7414)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72EB #B2EB72
analogous
#7275EB #AB72EB #E772EB
triadic
#AB72EB #EBAB72 #72EBAB
tetradic
#AB72EB #EB7275 #B2EB72 #72EBE7
square
#AB72EB #EB7275 #B2EB72 #72EBE7
split-complementary
#AB72EB #EBE772 #75EB72
monochromatic
#6C1CC6 #8B3CE3 #AB72EB #CBA8F3 #EBDDFA

Accessibility & contrast

On white

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

On black

6.34
#AB72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72EB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72EB#FFFFFF#000000##000000
##AB72EB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#A088A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab72eb;
/* rgb */ color: rgb(171, 114, 235);
/* oklch */ color: oklch(66.3% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#c79cf2',
    500: '#ab72eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab72eb;
$custom-light: #c79cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72eb",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 268.264,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.1791,
    "h": 303.7
  },
  "luminance": 0.26691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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