#AB2B9B#AB2B9B

#AB2B9B is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.202 H 333.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB2B9B
RGBrgb(171, 43, 155)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 74.9%, 9.4%, 32.9%)
CIE-LABlab(42.39, 62.47, -32.61)
CIE-LCHlch(42.39, 70.47, 332.44°)
OKLaboklab(53.01% 0.181 -0.0894)
OKLCHoklch(53.01% 0.202 333.7)
XYZxyz(23.5750, 12.7543, 32.2242)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B9B #2BAB3B
analogous
#7B2BAB #AB2B9B #AB2B5B
triadic
#AB2B9B #9BAB2B #2B9BAB
tetradic
#AB2B9B #AB7B2B #2BAB3B #2B5BAB
square
#AB2B9B #AB7B2B #2BAB3B #2B5BAB
split-complementary
#AB2B9B #5BAB2B #2BAB7B
monochromatic
#491242 #7A1F6F #AB2B9B #D043BE #DC74CF

Accessibility & contrast

On white

5.91
#AB2B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB2B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B9B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B9B#FFFFFF#000000##FFFFFF
##AB2B9B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#576B98
Tritanopia (blue-blind)
#B33860
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2b9b;
/* rgb */ color: rgb(171, 43, 155);
/* oklch */ color: oklch(53.0% 0.202 333.7);
Tailwind
colors: {
  custom: {
    50: '#c872b9',
    500: '#ab2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b9b;
$custom-light: #c872b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b9b",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 307.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.20188,
    "h": 333.7
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#AB2B9B
secondary
#6EC479
accent
#E35945
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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