#AB72CD#AB72CD

#AB72CD is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.7% C 0.144 H 311.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB72CD
RGBrgb(171, 114, 205)
HSLhsl(278, 48%, 63%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(16.6%, 44.4%, 0%, 19.6%)
CIE-LABlab(57.17, 38.94, -38.54)
CIE-LCHlch(57.17, 54.79, 315.29°)
OKLaboklab(64.67% 0.0957 -0.107)
OKLCHoklch(64.67% 0.144 311.8)
XYZxyz(33.8294, 25.1010, 60.8086)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72CD #94CD72
analogous
#7D72CD #AB72CD #CD72C2
triadic
#AB72CD #CDAB72 #72CDAB
tetradic
#AB72CD #CD7D72 #94CD72 #72C2CD
square
#AB72CD #CD7D72 #94CD72 #72C2CD
split-complementary
#AB72CD #C2CD72 #72CD7D
monochromatic
#6E3391 #9045BD #AB72CD #C69FDD #E1CCED

Accessibility & contrast

On white

3.49
#AB72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AB72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72CD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72CD#FFFFFF#000000##000000
##AB72CD1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#A88096
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72cd;
/* rgb */ color: rgb(171, 114, 205);
/* oklch */ color: oklch(64.7% 0.144 311.8);
Tailwind
colors: {
  custom: {
    50: '#c69cdc',
    500: '#ab72cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab72cd;
$custom-light: #c69cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72cd",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 277.582,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.14358,
    "h": 311.8
  },
  "luminance": 0.251
}

Semantic roles & 50–950 ramp

primary
#AB72CD
secondary
#C9DEBD
accent
#BB2B61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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