#AB2BB1#AB2BB1

#AB2BB1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 326.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB2BB1
RGBrgb(171, 43, 177)
HSLhsl(297, 61%, 43%)
HSVhsv(297, 76%, 69%)
CMYKcmyk(3.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(43.60, 65.99, -43.82)
CIE-LCHlch(43.60, 79.21, 326.42°)
OKLaboklab(54.26% 0.1812 -0.1219)
OKLCHoklch(54.26% 0.218 326.1)
XYZxyz(25.5938, 13.5618, 42.8561)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BB1 #31B12B
analogous
#682BB1 #AB2BB1 #B12B74
triadic
#AB2BB1 #B1AB2B #2BB1AB
tetradic
#AB2BB1 #B1682B #31B12B #2B74B1
square
#AB2BB1 #B1682B #31B12B #2B74B1
split-complementary
#AB2BB1 #74B12B #2BB168
monochromatic
#4C134F #7B1F80 #AB2BB1 #CC47D2 #DA78DE

Accessibility & contrast

On white

5.66
#AB2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB2BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BB1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BB1#FFFFFF#000000##FFFFFF
##AB2BB11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4B6CAE
Tritanopia (blue-blind)
#AF436D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2bb1;
/* rgb */ color: rgb(171, 43, 177);
/* oklch */ color: oklch(54.3% 0.218 326.1);
Tailwind
colors: {
  custom: {
    50: '#c873c9',
    500: '#ab2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bb1;
$custom-light: #c873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bb1",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 297.313,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.21838,
    "h": 326.1
  },
  "luminance": 0.1356
}

Semantic roles & 50–950 ramp

primary
#AB2BB1
secondary
#75C672
accent
#E4444B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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