#AB33B2#AB33B2

#AB33B2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.211 H 325.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB33B2
RGBrgb(171, 51, 178)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 70%)
CMYKcmyk(3.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(44.58, 63.52, -42.85)
CIE-LCHlch(44.58, 76.62, 326.00°)
OKLaboklab(54.98% 0.1738 -0.1191)
OKLCHoklch(54.98% 0.211 325.6)
XYZxyz(26.0137, 14.2416, 43.4896)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B2 #3AB233
analogous
#6C33B2 #AB33B2 #B23379
triadic
#AB33B2 #B2AB33 #33B2AB
tetradic
#AB33B2 #B26C33 #3AB233 #3379B2
square
#AB33B2 #B26C33 #3AB233 #3379B2
split-complementary
#AB33B2 #79B233 #33B26C
monochromatic
#501853 #7D2582 #AB33B2 #C754CE #D784DC

Accessibility & contrast

On white

5.46
#AB33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB33B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B2#FFFFFF#000000##FFFFFF
##AB33B21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#AF486F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab33b2;
/* rgb */ color: rgb(171, 51, 178);
/* oklch */ color: oklch(55.0% 0.211 325.6);
Tailwind
colors: {
  custom: {
    50: '#c876c9',
    500: '#ab33b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b2;
$custom-light: #c876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b2",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 296.693,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.21073,
    "h": 325.6
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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