#AB34C1#AB34C1

#AB34C1 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.222 H 320.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB34C1
RGBrgb(171, 52, 193)
HSLhsl(291, 58%, 48%)
HSVhsv(291, 73%, 76%)
CMYKcmyk(11.4%, 73.1%, 0%, 24.3%)
CIE-LABlab(45.59, 65.83, -50.02)
CIE-LCHlch(45.59, 82.68, 322.77°)
OKLaboklab(55.99% 0.1722 -0.14)
OKLCHoklch(55.99% 0.222 320.9)
XYZxyz(27.6471, 14.9656, 51.8741)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34C1 #4AC134
analogous
#6434C1 #AB34C1 #C13491
triadic
#AB34C1 #C1AB34 #34C1AB
tetradic
#AB34C1 #C16434 #4AC134 #3491C1
square
#AB34C1 #C16434 #4AC134 #3491C1
split-complementary
#AB34C1 #91C134 #34C164
monochromatic
#561A61 #802791 #AB34C1 #C15ED4 #D48FE1

Accessibility & contrast

On white

5.26
#AB34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34C1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34C1#FFFFFF#000000##FFFFFF
##AB34C11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#AC4F78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab34c1;
/* rgb */ color: rgb(171, 52, 193);
/* oklch */ color: oklch(56.0% 0.222 320.9);
Tailwind
colors: {
  custom: {
    50: '#c877d4',
    500: '#ab34c1',
    950: '#000000',
  },
}
SCSS
$custom: #ab34c1;
$custom-light: #c877d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34c1",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 290.638,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.22196,
    "h": 320.9
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#AB34C1
secondary
#90CB86
accent
#E1475F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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