#AB3CC9#AB3CC9

#AB3CC9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.220 H 318.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3CC9
RGBrgb(171, 60, 201)
HSLhsl(287, 57%, 51%)
HSVhsv(287, 70%, 79%)
CMYKcmyk(14.9%, 70.1%, 0%, 21.2%)
CIE-LABlab(47.12, 64.37, -52.21)
CIE-LCHlch(47.12, 82.88, 320.95°)
OKLaboklab(57.23% 0.1638 -0.1465)
OKLCHoklch(57.23% 0.22 318.2)
XYZxyz(28.9516, 16.1080, 56.8311)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC9 #5AC93C
analogous
#643CC9 #AB3CC9 #C93CA0
triadic
#AB3CC9 #C9AB3C #3CC9AB
tetradic
#AB3CC9 #C9643C #5AC93C #3CA0C9
square
#AB3CC9 #C9643C #5AC93C #3CA0C9
split-complementary
#AB3CC9 #A0C93C #3CC964
monochromatic
#5C1E6D #842B9C #AB3CC9 #C06CD6 #D49CE4

Accessibility & contrast

On white

4.97
#AB3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB3CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CC9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CC9#FFFFFF#000000##FFFFFF
##AB3CC91.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#AA577F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3cc9;
/* rgb */ color: rgb(171, 60, 201);
/* oklch */ color: oklch(57.2% 0.220 318.2);
Tailwind
colors: {
  custom: {
    50: '#c87bda',
    500: '#ab3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc9;
$custom-light: #c87bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc9",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 287.234,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.21979,
    "h": 318.2
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#AB3CC9
secondary
#9FD091
accent
#E04868
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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