#AB2AAE#AB2AAE

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

Color values

HEX#AB2AAE
RGBrgb(171, 42, 174)
HSLhsl(299, 61%, 42%)
HSVhsv(299, 76%, 68%)
CMYKcmyk(1.7%, 75.9%, 0%, 31.8%)
CIE-LABlab(43.32, 65.79, -42.49)
CIE-LCHlch(43.32, 78.32, 327.15°)
OKLaboklab(54.01% 0.1822 -0.118)
OKLCHoklch(54.01% 0.217 327.1)
XYZxyz(25.2621, 13.3716, 41.2866)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2AAE #2DAE2A
analogous
#692AAE #AB2AAE #AE2A6F
triadic
#AB2AAE #AEAB2A #2AAEAB
tetradic
#AB2AAE #AE692A #2DAE2A #2A6FAE
square
#AB2AAE #AE692A #2DAE2A #2A6FAE
split-complementary
#AB2AAE #6FAE2A #2AAE69
monochromatic
#4A124B #7B1E7D #AB2AAE #CE43D2 #DB75DE

Accessibility & contrast

On white

5.72
#AB2AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB2AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2AAE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2AAE#FFFFFF#000000##FFFFFF
##AB2AAE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#B0416B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2aae;
/* rgb */ color: rgb(171, 42, 174);
/* oklch */ color: oklch(54.0% 0.217 327.1);
Tailwind
colors: {
  custom: {
    50: '#c872c7',
    500: '#ab2aae',
    950: '#000000',
  },
}
SCSS
$custom: #ab2aae;
$custom-light: #c872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2aae",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 298.636,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.21704,
    "h": 327.1
  },
  "luminance": 0.1337
}

Semantic roles & 50–950 ramp

primary
#AB2AAE
secondary
#71C56F
accent
#E44447
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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