#AB72ED#AB72ED

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

Color values

HEX#AB72ED
RGBrgb(171, 114, 237)
HSLhsl(268, 77%, 69%)
HSVhsv(268, 52%, 93%)
CMYKcmyk(27.8%, 51.9%, 0%, 7.1%)
CIE-LABlab(58.80, 46.25, -53.94)
CIE-LCHlch(58.80, 71.06, 310.61°)
OKLaboklab(66.41% 0.0994 -0.1518)
OKLCHoklch(66.41% 0.181 303.2)
XYZxyz(38.0946, 26.8070, 83.2717)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72ED #B4ED72
analogous
#7277ED #AB72ED #E972ED
triadic
#AB72ED #EDAB72 #72EDAB
tetradic
#AB72ED #ED7277 #B4ED72 #72EDE9
square
#AB72ED #ED7277 #B4ED72 #72EDE9
split-complementary
#AB72ED #EDE972 #77ED72
monochromatic
#6C1ACB #8B3CE6 #AB72ED #CBA8F4 #ECDFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB72ED#FFFFFF#000000##000000
##AB72ED1.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)
#488CF1
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#9F89A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab72ed;
/* rgb */ color: rgb(171, 114, 237);
/* oklch */ color: oklch(66.4% 0.181 303.2);
Tailwind
colors: {
  custom: {
    50: '#c79cf3',
    500: '#ab72ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ed;
$custom-light: #c79cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ed",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 267.805,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.18148,
    "h": 303.2
  },
  "luminance": 0.26807
}

Semantic roles & 50–950 ramp

primary
#AB72ED
secondary
#DFF0CB
accent
#DA0C7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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