#AB34C3#AB34C3

#AB34C3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.224 H 320.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AB34C3
RGBrgb(171, 52, 195)
HSLhsl(290, 58%, 48%)
HSVhsv(290, 73%, 76%)
CMYKcmyk(12.3%, 73.3%, 0%, 23.5%)
CIE-LABlab(45.71, 66.19, -50.99)
CIE-LCHlch(45.71, 83.55, 322.39°)
OKLaboklab(56.11% 0.172 -0.1429)
OKLCHoklch(56.11% 0.224 320.3)
XYZxyz(27.8717, 15.0555, 53.0571)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34C3 #4CC334
analogous
#6334C3 #AB34C3 #C33493
triadic
#AB34C3 #C3AB34 #34C3AB
tetradic
#AB34C3 #C36334 #4CC334 #3493C3
square
#AB34C3 #C36334 #4CC334 #3493C3
split-complementary
#AB34C3 #93C334 #34C363
monochromatic
#561A62 #812793 #AB34C3 #C160D5 #D490E1

Accessibility & contrast

On white

5.24
#AB34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AB34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34C3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34C3#FFFFFF#000000##FFFFFF
##AB34C31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#4270C0
Tritanopia (blue-blind)
#AC5079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab34c3;
/* rgb */ color: rgb(171, 52, 195);
/* oklch */ color: oklch(56.1% 0.224 320.3);
Tailwind
colors: {
  custom: {
    50: '#c877d6',
    500: '#ab34c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab34c3;
$custom-light: #c877d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34c3",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 289.93,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.22363,
    "h": 320.3
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#AB34C3
secondary
#92CC87
accent
#E14761
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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