#AB34B1#AB34B1

#AB34B1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.209 H 325.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB34B1
RGBrgb(171, 52, 177)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 69%)
CMYKcmyk(3.4%, 70.6%, 0%, 30.6%)
CIE-LABlab(44.65, 63.00, -42.15)
CIE-LCHlch(44.65, 75.79, 326.22°)
OKLaboklab(55.01% 0.1729 -0.1171)
OKLCHoklch(55.01% 0.209 325.9)
XYZxyz(25.9579, 14.2899, 42.9775)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34B1 #3AB134
analogous
#6D34B1 #AB34B1 #B13479
triadic
#AB34B1 #B1AB34 #34B1AB
tetradic
#AB34B1 #B16D34 #3AB134 #3479B1
square
#AB34B1 #B16D34 #3AB134 #3479B1
split-complementary
#AB34B1 #79B134 #34B16D
monochromatic
#501852 #7D2682 #AB34B1 #C755CD #D784DB

Accessibility & contrast

On white

5.44
#AB34B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB34B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34B1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34B1#FFFFFF#000000##FFFFFF
##AB34B11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#AF486F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab34b1;
/* rgb */ color: rgb(171, 52, 177);
/* oklch */ color: oklch(55.0% 0.209 325.9);
Tailwind
colors: {
  custom: {
    50: '#c877c9',
    500: '#ab34b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab34b1;
$custom-light: #c877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34b1",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 297.12,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.20877,
    "h": 325.9
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#AB34B1
secondary
#80C57C
accent
#DE4A51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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