#AB34A3#AB34A3

#AB34A3 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.198 H 330.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB34A3
RGBrgb(171, 52, 163)
HSLhsl(304, 53%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 69.6%, 4.7%, 32.9%)
CIE-LABlab(43.89, 60.65, -35.05)
CIE-LCHlch(43.89, 70.05, 329.98°)
OKLaboklab(54.22% 0.1725 -0.0965)
OKLCHoklch(54.22% 0.198 330.8)
XYZxyz(24.6334, 13.7601, 36.0018)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34A3 #34AB3C
analogous
#7734AB #AB34A3 #AB3467
triadic
#AB34A3 #A3AB34 #34A3AB
tetradic
#AB34A3 #AB7734 #34AB3C #3467AB
square
#AB34A3 #AB7734 #34AB3C #3467AB
split-complementary
#AB34A3 #67AB34 #34AB77
monochromatic
#4D174A #7C2676 #AB34A3 #CA52C2 #D981D3

Accessibility & contrast

On white

5.60
#AB34A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB34A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34A3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34A3#FFFFFF#000000##FFFFFF
##AB34A31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#B24267
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab34a3;
/* rgb */ color: rgb(171, 52, 163);
/* oklch */ color: oklch(54.2% 0.198 330.8);
Tailwind
colors: {
  custom: {
    50: '#c776be',
    500: '#ab34a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab34a3;
$custom-light: #c776be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34a3",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 304.034,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.19767,
    "h": 330.8
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#AB34A3
secondary
#79C27E
accent
#DD554B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB34A3

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

Preview Lab → · Contrast checker → · Palette generator →

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