#AB34AE#AB34AE

#AB34AE is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.206 H 326.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB34AE
RGBrgb(171, 52, 174)
HSLhsl(299, 54%, 44%)
HSVhsv(299, 70%, 68%)
CMYKcmyk(1.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(44.48, 62.48, -40.64)
CIE-LCHlch(44.48, 74.54, 326.96°)
OKLaboklab(54.84% 0.1729 -0.1127)
OKLCHoklch(54.84% 0.206 326.9)
XYZxyz(25.6621, 14.1716, 41.4200)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34AE #37AE34
analogous
#6E34AE #AB34AE #AE3474
triadic
#AB34AE #AEAB34 #34AEAB
tetradic
#AB34AE #AE6E34 #37AE34 #3474AE
square
#AB34AE #AE6E34 #37AE34 #3474AE
split-complementary
#AB34AE #74AE34 #34AE6E
monochromatic
#4E1850 #7D267F #AB34AE #C953CC #D883DA

Accessibility & contrast

On white

5.48
#AB34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB34AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34AE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34AE#FFFFFF#000000##FFFFFF
##AB34AE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB1
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B0476D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab34ae;
/* rgb */ color: rgb(171, 52, 174);
/* oklch */ color: oklch(54.8% 0.206 326.9);
Tailwind
colors: {
  custom: {
    50: '#c877c7',
    500: '#ab34ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab34ae;
$custom-light: #c877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34ae",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 298.525,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.20636,
    "h": 326.9
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#AB34AE
secondary
#7CC37B
accent
#DD4A4E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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