#AB72CB#AB72CB

#AB72CB is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.6% C 0.141 H 312.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB72CB
RGBrgb(171, 114, 203)
HSLhsl(278, 46%, 62%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(15.8%, 43.8%, 0%, 20.4%)
CIE-LABlab(57.08, 38.50, -37.55)
CIE-LCHlch(57.08, 53.78, 315.71°)
OKLaboklab(64.57% 0.0954 -0.1042)
OKLCHoklch(64.57% 0.141 312.5)
XYZxyz(33.5896, 25.0050, 59.5453)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72CB #92CB72
analogous
#7F72CB #AB72CB #CB72BF
triadic
#AB72CB #CBAB72 #72CBAB
tetradic
#AB72CB #CB7F72 #92CB72 #72BFCB
square
#AB72CB #CB7F72 #92CB72 #72BFCB
split-complementary
#AB72CB #BFCB72 #72CB7F
monochromatic
#6E348E #9045BB #AB72CB #C69FDB #E0CBEC

Accessibility & contrast

On white

3.50
#AB72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#AB72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72CB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72CB#FFFFFF#000000##000000
##AB72CB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#6F8AC9
Tritanopia (blue-blind)
#A87F95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72cb;
/* rgb */ color: rgb(171, 114, 203);
/* oklch */ color: oklch(64.6% 0.141 312.5);
Tailwind
colors: {
  custom: {
    50: '#c59cdb',
    500: '#ab72cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab72cb;
$custom-light: #c59cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72cb",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 278.427,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.14124,
    "h": 312.5
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#AB72CB
secondary
#C8DDBC
accent
#B92C5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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