#AB34BD#AB34BD

#AB34BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.219 H 322.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB34BD
RGBrgb(171, 52, 189)
HSLhsl(292, 57%, 47%)
HSVhsv(292, 72%, 74%)
CMYKcmyk(9.5%, 72.5%, 0%, 25.9%)
CIE-LABlab(45.34, 65.10, -48.08)
CIE-LCHlch(45.34, 80.93, 323.56°)
OKLaboklab(55.74% 0.1725 -0.1344)
OKLCHoklch(55.74% 0.219 322.1)
XYZxyz(27.2069, 14.7896, 49.5559)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB34BD #46BD34
analogous
#6734BD #AB34BD #BD348A
triadic
#AB34BD #BDAB34 #34BDAB
tetradic
#AB34BD #BD6734 #46BD34 #348ABD
square
#AB34BD #BD6734 #46BD34 #348ABD
split-complementary
#AB34BD #8ABD34 #34BD67
monochromatic
#541A5D #80278D #AB34BD #C35CD2 #D48CDF

Accessibility & contrast

On white

5.31
#AB34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB34BD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB34BD#FFFFFF#000000##FFFFFF
##AB34BD1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#AD4D76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab34bd;
/* rgb */ color: rgb(171, 52, 189);
/* oklch */ color: oklch(55.7% 0.219 322.1);
Tailwind
colors: {
  custom: {
    50: '#c877d1',
    500: '#ab34bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab34bd;
$custom-light: #c877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab34bd",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 292.117,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.21863,
    "h": 322.1
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#AB34BD
secondary
#8CCA83
accent
#E0485C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AB34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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