#AB4CC9#AB4CC9

#AB4CC9 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.199 H 317.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4CC9
RGBrgb(171, 76, 201)
HSLhsl(286, 54%, 54%)
HSVhsv(286, 62%, 79%)
CMYKcmyk(14.9%, 62.2%, 0%, 21.2%)
CIE-LABlab(49.55, 57.58, -48.32)
CIE-LCHlch(49.55, 75.17, 320.00°)
OKLaboklab(58.99% 0.1461 -0.1352)
OKLCHoklch(58.99% 0.199 317.2)
XYZxyz(29.9201, 18.0450, 57.1540)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CC9 #6AC94C
analogous
#6D4CC9 #AB4CC9 #C94CA9
triadic
#AB4CC9 #C9AB4C #4CC9AB
tetradic
#AB4CC9 #C96D4C #6AC94C #4CA9C9
square
#AB4CC9 #C96D4C #6AC94C #4CA9C9
split-complementary
#AB4CC9 #A9C94C #4CC96D
monochromatic
#632477 #8A32A6 #AB4CC9 #C17BD7 #D7AAE5

Accessibility & contrast

On white

4.56
#AB4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB4CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CC9#FFFFFF#000000##000000
##AB4CC91.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2570CD
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#AA6284
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4cc9;
/* rgb */ color: rgb(171, 76, 201);
/* oklch */ color: oklch(59.0% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#c784da',
    500: '#ab4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cc9;
$custom-light: #c784da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cc9",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 285.6,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.19908,
    "h": 317.2
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#AB4CC9
secondary
#ABD39E
accent
#DD4B6E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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