#AB72C8#AB72C8

#AB72C8 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.4% C 0.138 H 313.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB72C8
RGBrgb(171, 114, 200)
HSLhsl(280, 44%, 62%)
HSVhsv(280, 43%, 78%)
CMYKcmyk(14.5%, 43%, 0%, 21.6%)
CIE-LABlab(56.94, 37.85, -36.07)
CIE-LCHlch(56.94, 52.28, 316.38°)
OKLaboklab(64.42% 0.0949 -0.0999)
OKLCHoklch(64.42% 0.138 313.5)
XYZxyz(33.2355, 24.8634, 57.6807)
Luminance0.2486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72C8 #8FC872
analogous
#8072C8 #AB72C8 #C872BA
triadic
#AB72C8 #C8AB72 #72C8AB
tetradic
#AB72C8 #C88072 #8FC872 #72BAC8
square
#AB72C8 #C88072 #8FC872 #72BAC8
split-complementary
#AB72C8 #BAC872 #72C880
monochromatic
#6D368A #9047B6 #AB72C8 #C59ED9 #DFCAEA

Accessibility & contrast

On white

3.52
#AB72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AB72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72C8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72C8#FFFFFF#000000##000000
##AB72C81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#708AC6
Tritanopia (blue-blind)
#A97E93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72c8;
/* rgb */ color: rgb(171, 114, 200);
/* oklch */ color: oklch(64.4% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#c59cd9',
    500: '#ab72c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab72c8;
$custom-light: #c59cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72c8",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 279.767,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.13774,
    "h": 313.5
  },
  "luminance": 0.24863
}

Semantic roles & 50–950 ramp

primary
#AB72C8
secondary
#C6DBBB
accent
#B72E5D
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AB72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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