#AB2BAE#AB2BAE

#AB2BAE is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.216 H 327.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2BAE
RGBrgb(171, 43, 174)
HSLhsl(299, 60%, 43%)
HSVhsv(299, 75%, 68%)
CMYKcmyk(1.7%, 75.3%, 0%, 31.8%)
CIE-LABlab(43.42, 65.49, -42.32)
CIE-LCHlch(43.42, 77.97, 327.13°)
OKLaboklab(54.08% 0.1813 -0.1175)
OKLCHoklch(54.08% 0.216 327.1)
XYZxyz(25.2980, 13.4435, 41.2986)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BAE #2EAE2B
analogous
#6A2BAE #AB2BAE #AE2B6F
triadic
#AB2BAE #AEAB2B #2BAEAB
tetradic
#AB2BAE #AE6A2B #2EAE2B #2B6FAE
square
#AB2BAE #AE6A2B #2EAE2B #2B6FAE
split-complementary
#AB2BAE #6FAE2B #2BAE6A
monochromatic
#4B134C #7B1F7D #AB2BAE #CE45D1 #DB76DD

Accessibility & contrast

On white

5.69
#AB2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BAE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BAE#FFFFFF#000000##FFFFFF
##AB2BAE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB2
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#B0416B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2bae;
/* rgb */ color: rgb(171, 43, 174);
/* oklch */ color: oklch(54.1% 0.216 327.1);
Tailwind
colors: {
  custom: {
    50: '#c873c7',
    500: '#ab2bae',
    950: '#000000',
  },
}
SCSS
$custom: #ab2bae;
$custom-light: #c873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2bae",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 298.626,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.21606,
    "h": 327.1
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#AB2BAE
secondary
#72C570
accent
#E44448
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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