#AB2BB8#AB2BB8

#AB2BB8 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.224 H 323.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB2BB8
RGBrgb(171, 43, 184)
HSLhsl(294, 62%, 45%)
HSVhsv(294, 77%, 72%)
CMYKcmyk(7.1%, 76.6%, 0%, 27.8%)
CIE-LABlab(44.01, 67.18, -47.27)
CIE-LCHlch(44.01, 82.14, 324.86°)
OKLaboklab(54.69% 0.1808 -0.132)
OKLCHoklch(54.69% 0.224 323.9)
XYZxyz(26.3094, 13.8480, 46.6253)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BB8 #38B82B
analogous
#652BB8 #AB2BB8 #B82B7F
triadic
#AB2BB8 #B8AB2B #2BB8AB
tetradic
#AB2BB8 #B8652B #38B82B #2B7FB8
square
#AB2BB8 #B8652B #38B82B #2B7FB8
split-complementary
#AB2BB8 #7FB82B #2BB865
monochromatic
#4F1455 #7D1F86 #AB2BB8 #C84BD5 #D77DE1

Accessibility & contrast

On white

5.57
#AB2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BB8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BB8#FFFFFF#000000##FFFFFF
##AB2BB81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#466DB5
Tritanopia (blue-blind)
#AE4671
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2bb8;
/* rgb */ color: rgb(171, 43, 184);
/* oklch */ color: oklch(54.7% 0.224 323.9);
Tailwind
colors: {
  custom: {
    50: '#c873ce',
    500: '#ab2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bb8;
$custom-light: #c873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bb8",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 294.468,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.22384,
    "h": 323.9
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#AB2BB8
secondary
#7DC976
accent
#E54352
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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