#AB2BB4#AB2BB4

#AB2BB4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 325.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2BB4
RGBrgb(171, 43, 180)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 76%, 71%)
CMYKcmyk(5%, 76.1%, 0%, 29.4%)
CIE-LABlab(43.77, 66.49, -45.30)
CIE-LCHlch(43.77, 80.46, 325.73°)
OKLaboklab(54.45% 0.1811 -0.1262)
OKLCHoklch(54.45% 0.221 325.1)
XYZxyz(25.8961, 13.6827, 44.4482)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BB4 #34B42B
analogous
#662BB4 #AB2BB4 #B42B78
triadic
#AB2BB4 #B4AB2B #2BB4AB
tetradic
#AB2BB4 #B4662B #34B42B #2B78B4
square
#AB2BB4 #B4662B #34B42B #2B78B4
split-complementary
#AB2BB4 #78B42B #2BB466
monochromatic
#4D1351 #7C1F83 #AB2BB4 #CA49D3 #D97ADF

Accessibility & contrast

On white

5.62
#AB2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BB4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BB4#FFFFFF#000000##FFFFFF
##AB2BB41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#AF446E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2bb4;
/* rgb */ color: rgb(171, 43, 180);
/* oklch */ color: oklch(54.4% 0.221 325.1);
Tailwind
colors: {
  custom: {
    50: '#c873cb',
    500: '#ab2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bb4;
$custom-light: #c873cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bb4",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 296.058,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.22071,
    "h": 325.1
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#AB2BB4
secondary
#79C773
accent
#E5434E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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