#AB3BC9#AB3BC9

#AB3BC9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.221 H 318.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB3BC9
RGBrgb(171, 59, 201)
HSLhsl(287, 57%, 51%)
HSVhsv(287, 71%, 79%)
CMYKcmyk(14.9%, 70.6%, 0%, 21.2%)
CIE-LABlab(46.98, 64.75, -52.43)
CIE-LCHlch(46.98, 83.32, 321.00°)
OKLaboklab(57.14% 0.1648 -0.1471)
OKLCHoklch(57.14% 0.221 318.2)
XYZxyz(28.8997, 16.0042, 56.8139)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BC9 #59C93B
analogous
#643BC9 #AB3BC9 #C93BA0
triadic
#AB3BC9 #C9AB3B #3BC9AB
tetradic
#AB3BC9 #C9643B #59C93B #3BA0C9
square
#AB3BC9 #C9643B #59C93B #3BA0C9
split-complementary
#AB3BC9 #A0C93B #3BC964
monochromatic
#5B1E6C #842B9C #AB3BC9 #C06BD6 #D49BE3

Accessibility & contrast

On white

5.00
#AB3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB3BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BC9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BC9#FFFFFF#000000##FFFFFF
##AB3BC91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#AA577E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3bc9;
/* rgb */ color: rgb(171, 59, 201);
/* oklch */ color: oklch(57.1% 0.221 318.2);
Tailwind
colors: {
  custom: {
    50: '#c87bda',
    500: '#ab3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bc9;
$custom-light: #c87bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bc9",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 287.324,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.22095,
    "h": 318.2
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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