#AB34A0#AB34A0

#AB34A0 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.195 H 331.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AB34A0
RGBrgb(171, 52, 160)
HSLhsl(306, 53%, 44%)
HSVhsv(306, 70%, 67%)
CMYKcmyk(0%, 69.6%, 6.4%, 32.9%)
CIE-LABlab(43.73, 60.17, -33.50)
CIE-LCHlch(43.73, 68.86, 330.89°)
OKLaboklab(54.06% 0.1724 -0.092)
OKLCHoklch(54.06% 0.195 331.9)
XYZxyz(24.3678, 13.6539, 34.6029)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34A0 #34AB3F
analogous
#7A34AB #AB34A0 #AB3464
triadic
#AB34A0 #A0AB34 #34A0AB
tetradic
#AB34A0 #AB7A34 #34AB3F #3464AB
square
#AB34A0 #AB7A34 #34AB3F #3464AB
split-complementary
#AB34A0 #64AB34 #34AB7A
monochromatic
#4D1748 #7C2674 #AB34A0 #CA52BF #D981D0

Accessibility & contrast

On white

5.63
#AB34A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB34A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34A0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34A0#FFFFFF#000000##FFFFFF
##AB34A01.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#B24066
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab34a0;
/* rgb */ color: rgb(171, 52, 160);
/* oklch */ color: oklch(54.1% 0.195 331.9);
Tailwind
colors: {
  custom: {
    50: '#c776bc',
    500: '#ab34a0',
    950: '#000000',
  },
}
SCSS
$custom: #ab34a0;
$custom-light: #c776bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34a0",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 160
  },
  "hsl": {
    "h": 305.546,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.19538,
    "h": 331.9
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#AB34A0
secondary
#79C280
accent
#DD594B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB34A0

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

Preview Lab → · Contrast checker → · Palette generator →

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