#AB72EF#AB72EF

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

Color values

HEX#AB72EF
RGBrgb(171, 114, 239)
HSLhsl(267, 80%, 69%)
HSVhsv(267, 52%, 94%)
CMYKcmyk(28.5%, 52.3%, 0%, 6.3%)
CIE-LABlab(58.90, 46.73, -54.88)
CIE-LCHlch(58.90, 72.08, 310.41°)
OKLaboklab(66.52% 0.0995 -0.1546)
OKLCHoklch(66.52% 0.184 302.8)
XYZxyz(38.3884, 26.9246, 84.8192)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72EF #B6EF72
analogous
#7278EF #AB72EF #EA72EF
triadic
#AB72EF #EFAB72 #72EFAB
tetradic
#AB72EF #EF7278 #B6EF72 #72EFEA
square
#AB72EF #EF7278 #B6EF72 #72EFEA
split-complementary
#AB72EF #EFEA72 #78EF72
monochromatic
#6B18CF #8A3BE9 #AB72EF #CCA9F5 #ECE0FB

Accessibility & contrast

On white

3.29
#AB72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AB72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72EF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72EF#FFFFFF#000000##000000
##AB72EF1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#588DEC
Tritanopia (blue-blind)
#9E89A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72ef;
/* rgb */ color: rgb(171, 114, 239);
/* oklch */ color: oklch(66.5% 0.184 302.8);
Tailwind
colors: {
  custom: {
    50: '#c79cf5',
    500: '#ab72ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ef;
$custom-light: #c79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ef",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 267.36,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66523,
    "c": 0.18385,
    "h": 302.8
  },
  "luminance": 0.26925
}

Semantic roles & 50–950 ramp

primary
#AB72EF
secondary
#E0F1CC
accent
#DC0A7C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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