#AB33B8#AB33B8

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

Color values

HEX#AB33B8
RGBrgb(171, 51, 184)
HSLhsl(294, 57%, 46%)
HSVhsv(294, 72%, 72%)
CMYKcmyk(7.1%, 72.3%, 0%, 27.8%)
CIE-LABlab(44.92, 64.57, -45.82)
CIE-LCHlch(44.92, 79.17, 324.64°)
OKLaboklab(55.34% 0.1737 -0.1278)
OKLCHoklch(55.34% 0.216 323.7)
XYZxyz(26.6294, 14.4879, 46.7319)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B8 #40B833
analogous
#6833B8 #AB33B8 #B83382
triadic
#AB33B8 #B8AB33 #33B8AB
tetradic
#AB33B8 #B86833 #40B833 #3382B8
square
#AB33B8 #B86833 #40B833 #3382B8
split-complementary
#AB33B8 #82B833 #33B868
monochromatic
#521858 #7E2688 #AB33B8 #C558D1 #D588DE

Accessibility & contrast

On white

5.39
#AB33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B8#FFFFFF#000000##FFFFFF
##AB33B81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#AE4B73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b8;
/* rgb */ color: rgb(171, 51, 184);
/* oklch */ color: oklch(55.3% 0.216 323.7);
Tailwind
colors: {
  custom: {
    50: '#c876ce',
    500: '#ab33b8',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b8;
$custom-light: #c876ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b8",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 294.135,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.21561,
    "h": 323.7
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#AB33B8
secondary
#86C87F
accent
#E04857
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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