#AB2CAE#AB2CAE

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

Color values

HEX#AB2CAE
RGBrgb(171, 44, 174)
HSLhsl(299, 60%, 43%)
HSVhsv(299, 75%, 68%)
CMYKcmyk(1.7%, 74.7%, 0%, 31.8%)
CIE-LABlab(43.53, 65.18, -42.15)
CIE-LCHlch(43.53, 77.62, 327.11°)
OKLaboklab(54.16% 0.1804 -0.117)
OKLCHoklch(54.16% 0.215 327)
XYZxyz(25.3348, 13.5171, 41.3109)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CAE #2FAE2C
analogous
#6A2CAE #AB2CAE #AE2C70
triadic
#AB2CAE #AEAB2C #2CAEAB
tetradic
#AB2CAE #AE6A2C #2FAE2C #2C70AE
square
#AB2CAE #AE6A2C #2FAE2C #2C70AE
split-complementary
#AB2CAE #70AE2C #2CAE6A
monochromatic
#4B134C #7B207D #AB2CAE #CD47D0 #DA78DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2CAE#FFFFFF#000000##FFFFFF
##AB2CAE1.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)
#065DB2
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#B0426B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2cae;
/* rgb */ color: rgb(171, 44, 174);
/* oklch */ color: oklch(54.2% 0.215 327.0);
Tailwind
colors: {
  custom: {
    50: '#c873c7',
    500: '#ab2cae',
    950: '#000000',
  },
}
SCSS
$custom: #ab2cae;
$custom-light: #c873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2cae",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 298.615,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.21506,
    "h": 327
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#AB2CAE
secondary
#73C571
accent
#E34549
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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