#AB33C8#AB33C8

#AB33C8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.229 H 318.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB33C8
RGBrgb(171, 51, 200)
HSLhsl(288, 59%, 49%)
HSVhsv(288, 75%, 78%)
CMYKcmyk(14.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(45.90, 67.46, -53.58)
CIE-LCHlch(45.90, 86.14, 321.54°)
OKLaboklab(56.35% 0.1725 -0.1505)
OKLCHoklch(56.35% 0.229 318.9)
XYZxyz(28.4023, 15.1971, 56.0696)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33C8 #50C833
analogous
#6133C8 #AB33C8 #C8339B
triadic
#AB33C8 #C8AB33 #33C8AB
tetradic
#AB33C8 #C86133 #50C833 #339BC8
square
#AB33C8 #C86133 #50C833 #339BC8
split-complementary
#AB33C8 #9BC833 #33C861
monochromatic
#581A66 #812797 #AB33C8 #C061D7 #D392E3

Accessibility & contrast

On white

5.20
#AB33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB33C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33C8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33C8#FFFFFF#000000##FFFFFF
##AB33C81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#3D71C5
Tritanopia (blue-blind)
#AB527C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab33c8;
/* rgb */ color: rgb(171, 51, 200);
/* oklch */ color: oklch(56.4% 0.229 318.9);
Tailwind
colors: {
  custom: {
    50: '#c877d9',
    500: '#ab33c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab33c8;
$custom-light: #c877d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33c8",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 288.322,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.22888,
    "h": 318.9
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#AB33C8
secondary
#96CE89
accent
#E34564
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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