#AB34AD#AB34AD

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

Color values

HEX#AB34AD
RGBrgb(171, 52, 173)
HSLhsl(299, 54%, 44%)
HSVhsv(299, 70%, 68%)
CMYKcmyk(1.2%, 69.9%, 0%, 32.2%)
CIE-LABlab(44.42, 62.31, -40.14)
CIE-LCHlch(44.42, 74.12, 327.21°)
OKLaboklab(54.78% 0.1729 -0.1112)
OKLCHoklch(54.78% 0.206 327.2)
XYZxyz(25.5650, 14.1328, 40.9084)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34AD #36AD34
analogous
#6F34AD #AB34AD #AD3473
triadic
#AB34AD #ADAB34 #34ADAB
tetradic
#AB34AD #AD6F34 #36AD34 #3473AD
square
#AB34AD #AD6F34 #36AD34 #3473AD
split-complementary
#AB34AD #73AD34 #34AD6F
monochromatic
#4E184F #7C267E #AB34AD #C953CB #D882D9

Accessibility & contrast

On white

5.49
#AB34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB34AD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34AD#FFFFFF#000000##FFFFFF
##AB34AD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FB0
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#B0466D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab34ad;
/* rgb */ color: rgb(171, 52, 173);
/* oklch */ color: oklch(54.8% 0.206 327.2);
Tailwind
colors: {
  custom: {
    50: '#c877c6',
    500: '#ab34ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab34ad;
$custom-light: #c877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34ad",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 299.008,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.20556,
    "h": 327.2
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#AB34AD
secondary
#7BC37A
accent
#DD4B4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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