#AB2BB0#AB2BB0

#AB2BB0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.218 H 326.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB2BB0
RGBrgb(171, 43, 176)
HSLhsl(298, 61%, 43%)
HSVhsv(298, 76%, 69%)
CMYKcmyk(2.8%, 75.6%, 0%, 31%)
CIE-LABlab(43.54, 65.82, -43.32)
CIE-LCHlch(43.54, 78.80, 326.65°)
OKLaboklab(54.2% 0.1813 -0.1204)
OKLCHoklch(54.2% 0.218 326.4)
XYZxyz(25.4945, 13.5220, 42.3331)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BB0 #30B02B
analogous
#682BB0 #AB2BB0 #B02B73
triadic
#AB2BB0 #B0AB2B #2BB0AB
tetradic
#AB2BB0 #B0682B #30B02B #2B73B0
square
#AB2BB0 #B0682B #30B02B #2B73B0
split-complementary
#AB2BB0 #73B02B #2BB068
monochromatic
#4B134E #7B1F7F #AB2BB0 #CD46D2 #DA78DE

Accessibility & contrast

On white

5.67
#AB2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BB0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BB0#FFFFFF#000000##FFFFFF
##AB2BB01.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#4C6CAD
Tritanopia (blue-blind)
#B0426C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2bb0;
/* rgb */ color: rgb(171, 43, 176);
/* oklch */ color: oklch(54.2% 0.218 326.4);
Tailwind
colors: {
  custom: {
    50: '#c873c8',
    500: '#ab2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bb0;
$custom-light: #c873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bb0",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 297.744,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.21761,
    "h": 326.4
  },
  "luminance": 0.1352
}

Semantic roles & 50–950 ramp

primary
#AB2BB0
secondary
#74C671
accent
#E4444A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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