#AB72C7#AB72C7

#AB72C7 is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.4% C 0.137 H 313.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB72C7
RGBrgb(171, 114, 199)
HSLhsl(280, 43%, 61%)
HSVhsv(280, 43%, 78%)
CMYKcmyk(14.1%, 42.7%, 0%, 22%)
CIE-LABlab(56.90, 37.63, -35.57)
CIE-LCHlch(56.90, 51.78, 316.62°)
OKLaboklab(64.37% 0.0947 -0.0984)
OKLCHoklch(64.37% 0.137 313.9)
XYZxyz(33.1190, 24.8168, 57.0672)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72C7 #8EC772
analogous
#8172C7 #AB72C7 #C772B9
triadic
#AB72C7 #C7AB72 #72C7AB
tetradic
#AB72C7 #C78172 #8EC772 #72B9C7
square
#AB72C7 #C78172 #8EC772 #72B9C7
split-complementary
#AB72C7 #B9C772 #72C781
monochromatic
#6D3688 #9048B4 #AB72C7 #C59ED8 #DFCAEA

Accessibility & contrast

On white

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

On black

5.96
#AB72C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72C7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72C7#FFFFFF#000000##000000
##AB72C71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CA
Deuteranopia (green-blind)
#718AC5
Tritanopia (blue-blind)
#A97E93
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab72c7;
/* rgb */ color: rgb(171, 114, 199);
/* oklch */ color: oklch(64.4% 0.137 313.9);
Tailwind
colors: {
  custom: {
    50: '#c59cd8',
    500: '#ab72c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab72c7;
$custom-light: #c59cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72c7",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 199
  },
  "hsl": {
    "h": 280.235,
    "s": 43.147,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64373,
    "c": 0.13658,
    "h": 313.9
  },
  "luminance": 0.24816
}

Semantic roles & 50–950 ramp

primary
#AB72C7
secondary
#C5DABB
accent
#B62F5C
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AB72C7

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

Preview Lab → · Contrast checker → · Palette generator →

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