#AB2BB6#AB2BB6

#AB2BB6 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.222 H 324.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB2BB6
RGBrgb(171, 43, 182)
HSLhsl(295, 62%, 44%)
HSVhsv(295, 76%, 71%)
CMYKcmyk(6%, 76.4%, 0%, 28.6%)
CIE-LABlab(43.89, 66.83, -46.29)
CIE-LCHlch(43.89, 81.30, 325.29°)
OKLaboklab(54.57% 0.1809 -0.1291)
OKLCHoklch(54.57% 0.222 324.5)
XYZxyz(26.1013, 13.7648, 45.5290)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BB6 #36B62B
analogous
#662BB6 #AB2BB6 #B62B7C
triadic
#AB2BB6 #B6AB2B #2BB6AB
tetradic
#AB2BB6 #B6662B #36B62B #2B7CB6
square
#AB2BB6 #B6662B #36B62B #2B7CB6
split-complementary
#AB2BB6 #7CB62B #2BB666
monochromatic
#4E1453 #7C1F84 #AB2BB6 #C94AD4 #D87BE0

Accessibility & contrast

On white

5.60
#AB2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB2BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BB6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BB6#FFFFFF#000000##FFFFFF
##AB2BB61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#AE4570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2bb6;
/* rgb */ color: rgb(171, 43, 182);
/* oklch */ color: oklch(54.6% 0.222 324.5);
Tailwind
colors: {
  custom: {
    50: '#c873cc',
    500: '#ab2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bb6;
$custom-light: #c873cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bb6",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 295.252,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.22227,
    "h": 324.5
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#AB2BB6
secondary
#7BC875
accent
#E54350
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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