#AB33D6#AB33D6

#AB33D6 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.241 H 315.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB33D6
RGBrgb(171, 51, 214)
HSLhsl(284, 67%, 52%)
HSVhsv(284, 76%, 84%)
CMYKcmyk(20.1%, 76.2%, 0%, 16.1%)
CIE-LABlab(46.82, 70.09, -60.17)
CIE-LCHlch(46.82, 92.37, 319.36°)
OKLaboklab(57.29% 0.1707 -0.1698)
OKLCHoklch(57.29% 0.241 315.1)
XYZxyz(30.1140, 15.8817, 65.0845)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33D6 #5ED633
analogous
#5A33D6 #AB33D6 #D633B0
triadic
#AB33D6 #D6AB33 #33D6AB
tetradic
#AB33D6 #D65A33 #5ED633 #33B0D6
square
#AB33D6 #D65A33 #5ED633 #33B0D6
split-complementary
#AB33D6 #B0D633 #33D65A
monochromatic
#5E1877 #8622AA #AB33D6 #C066E0 #D599EA

Accessibility & contrast

On white

5.03
#AB33D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB33D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33D6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33D6#FFFFFF#000000##FFFFFF
##AB33D61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#2C72D3
Tritanopia (blue-blind)
#A75884
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab33d6;
/* rgb */ color: rgb(171, 51, 214);
/* oklch */ color: oklch(57.3% 0.241 315.1);
Tailwind
colors: {
  custom: {
    50: '#c978e3',
    500: '#ab33d6',
    950: '#000000',
  },
}
SCSS
$custom: #ab33d6;
$custom-light: #c978e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33d6",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 284.172,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.24074,
    "h": 315.1
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#AB33D6
secondary
#A2D68F
accent
#E93E6B
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB33D6

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

Preview Lab → · Contrast checker → · Palette generator →

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