#AB34AC#AB34AC

#AB34AC is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.205 H 327.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB34AC
RGBrgb(171, 52, 172)
HSLhsl(300, 54%, 44%)
HSVhsv(300, 70%, 67%)
CMYKcmyk(0.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(44.37, 62.14, -39.63)
CIE-LCHlch(44.37, 73.71, 327.47°)
OKLaboklab(54.72% 0.1729 -0.1098)
OKLCHoklch(54.72% 0.205 327.6)
XYZxyz(25.4686, 14.0942, 40.4008)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34AC #35AC34
analogous
#6F34AC #AB34AC #AC3471
triadic
#AB34AC #ACAB34 #34ACAB
tetradic
#AB34AC #AC6F34 #35AC34 #3471AC
square
#AB34AC #AC6F34 #35AC34 #3471AC
split-complementary
#AB34AC #71AC34 #34AC6F
monochromatic
#4E184E #7C267D #AB34AC #CA52CB #D881D9

Accessibility & contrast

On white

5.50
#AB34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AB34AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34AC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34AC#FFFFFF#000000##FFFFFF
##AB34AC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#B0466C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab34ac;
/* rgb */ color: rgb(171, 52, 172);
/* oklch */ color: oklch(54.7% 0.205 327.6);
Tailwind
colors: {
  custom: {
    50: '#c876c5',
    500: '#ab34ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab34ac;
$custom-light: #c876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34ac",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 299.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.20476,
    "h": 327.6
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#AB34AC
secondary
#7AC279
accent
#DD4B4C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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