#AB33B9#AB33B9

#AB33B9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.216 H 323.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AB33B9
RGBrgb(171, 51, 185)
HSLhsl(294, 57%, 46%)
HSVhsv(294, 72%, 73%)
CMYKcmyk(7.6%, 72.4%, 0%, 27.5%)
CIE-LABlab(44.98, 64.74, -46.31)
CIE-LCHlch(44.98, 79.60, 324.42°)
OKLaboklab(55.4% 0.1736 -0.1292)
OKLCHoklch(55.4% 0.216 323.3)
XYZxyz(26.7346, 14.5300, 47.2859)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B9 #41B933
analogous
#6833B9 #AB33B9 #B93384
triadic
#AB33B9 #B9AB33 #33B9AB
tetradic
#AB33B9 #B96833 #41B933 #3384B9
square
#AB33B9 #B96833 #41B933 #3384B9
split-complementary
#AB33B9 #84B933 #33B968
monochromatic
#521959 #7F2689 #AB33B9 #C458D1 #D588DE

Accessibility & contrast

On white

5.38
#AB33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B9#FFFFFF#000000##FFFFFF
##AB33B91.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#AE4B73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b9;
/* rgb */ color: rgb(171, 51, 185);
/* oklch */ color: oklch(55.4% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#c877cf',
    500: '#ab33b9',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b9;
$custom-light: #c877cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b9",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 293.731,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.21642,
    "h": 323.3
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#AB33B9
secondary
#87C880
accent
#E04858
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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