#AB72EE#AB72EE

#AB72EE is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.183 H 303.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB72EE
RGBrgb(171, 114, 238)
HSLhsl(268, 78%, 69%)
HSVhsv(268, 52%, 93%)
CMYKcmyk(28.2%, 52.1%, 0%, 6.7%)
CIE-LABlab(58.85, 46.49, -54.41)
CIE-LCHlch(58.85, 71.57, 310.51°)
OKLaboklab(66.46% 0.0995 -0.1532)
OKLCHoklch(66.46% 0.183 303)
XYZxyz(38.2411, 26.8656, 84.0433)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72EE #B5EE72
analogous
#7277EE #AB72EE #E972EE
triadic
#AB72EE #EEAB72 #72EEAB
tetradic
#AB72EE #EE7277 #B5EE72 #72EEE9
square
#AB72EE #EE7277 #B5EE72 #72EEE9
split-complementary
#AB72EE #EEE972 #77EE72
monochromatic
#6C19CD #8A3BE7 #AB72EE #CCA9F5 #ECDFFB

Accessibility & contrast

On white

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

On black

6.37
#AB72EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72EE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72EE#FFFFFF#000000##000000
##AB72EE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#9F89A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72ee;
/* rgb */ color: rgb(171, 114, 238);
/* oklch */ color: oklch(66.5% 0.183 303.0);
Tailwind
colors: {
  custom: {
    50: '#c79cf4',
    500: '#ab72ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ee;
$custom-light: #c79cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ee",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 267.581,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.18266,
    "h": 303
  },
  "luminance": 0.26866
}

Semantic roles & 50–950 ramp

primary
#AB72EE
secondary
#DFF0CC
accent
#DB0B7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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