#AB34B4#AB34B4

#AB34B4 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.211 H 324.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB34B4
RGBrgb(171, 52, 180)
HSLhsl(296, 55%, 45%)
HSVhsv(296, 71%, 71%)
CMYKcmyk(5%, 71.1%, 0%, 29.4%)
CIE-LABlab(44.82, 63.51, -43.64)
CIE-LCHlch(44.82, 77.06, 325.51°)
OKLaboklab(55.19% 0.1728 -0.1214)
OKLCHoklch(55.19% 0.211 324.9)
XYZxyz(26.2602, 14.4109, 44.5696)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34B4 #3DB434
analogous
#6B34B4 #AB34B4 #B4347D
triadic
#AB34B4 #B4AB34 #34B4AB
tetradic
#AB34B4 #B46B34 #3DB434 #347DB4
square
#AB34B4 #B46B34 #3DB434 #347DB4
split-complementary
#AB34B4 #7DB434 #34B46B
monochromatic
#511955 #7E2685 #AB34B4 #C657CE #D686DC

Accessibility & contrast

On white

5.41
#AB34B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AB34B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34B4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34B4#FFFFFF#000000##FFFFFF
##AB34B41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B8
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#AF4971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab34b4;
/* rgb */ color: rgb(171, 52, 180);
/* oklch */ color: oklch(55.2% 0.211 324.9);
Tailwind
colors: {
  custom: {
    50: '#c877cb',
    500: '#ab34b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab34b4;
$custom-light: #c877cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34b4",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 295.781,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.21122,
    "h": 324.9
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#AB34B4
secondary
#83C67E
accent
#DF4954
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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