#AB72DB#AB72DB

#AB72DB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.4% C 0.160 H 307.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AB72DB
RGBrgb(171, 114, 219)
HSLhsl(273, 59%, 65%)
HSVhsv(273, 48%, 86%)
CMYKcmyk(21.9%, 47.9%, 0%, 14.1%)
CIE-LABlab(57.85, 42.07, -45.37)
CIE-LCHlch(57.85, 61.87, 312.84°)
OKLaboklab(65.4% 0.0977 -0.1268)
OKLCHoklch(65.4% 0.16 307.6)
XYZxyz(35.5956, 25.8074, 70.1102)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72DB #A2DB72
analogous
#7672DB #AB72DB #DB72D7
triadic
#AB72DB #DBAB72 #72DBAB
tetradic
#AB72DB #DB7672 #A2DB72 #72D7DB
square
#AB72DB #DB7672 #A2DB72 #72D7DB
split-complementary
#AB72DB #D7DB72 #72DB76
monochromatic
#6F2BA8 #8E41CF #AB72DB #C8A3E7 #E5D4F4

Accessibility & contrast

On white

3.41
#AB72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AB72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72DB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72DB#FFFFFF#000000##000000
##AB72DB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#668CD8
Tritanopia (blue-blind)
#A4849C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab72db;
/* rgb */ color: rgb(171, 114, 219);
/* oklch */ color: oklch(65.4% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#c69ce6',
    500: '#ab72db',
    950: '#000000',
  },
}
SCSS
$custom: #ab72db;
$custom-light: #c69ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72db",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 272.571,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65402,
    "c": 0.1601,
    "h": 307.6
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#AB72DB
secondary
#D3E6C3
accent
#C71F6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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