#AB33CE#AB33CE

#AB33CE is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.234 H 317.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB33CE
RGBrgb(171, 51, 206)
HSLhsl(286, 61%, 50%)
HSVhsv(286, 75%, 81%)
CMYKcmyk(17%, 75.2%, 0%, 19.2%)
CIE-LABlab(46.29, 68.57, -56.42)
CIE-LCHlch(46.29, 88.80, 320.55°)
OKLaboklab(56.75% 0.1718 -0.1588)
OKLCHoklch(56.75% 0.234 317.3)
XYZxyz(29.1174, 15.4831, 59.8353)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33CE #56CE33
analogous
#5E33CE #AB33CE #CE33A3
triadic
#AB33CE #CEAB33 #33CEAB
tetradic
#AB33CE #CE5E33 #56CE33 #33A3CE
square
#AB33CE #CE5E33 #56CE33 #33A3CE
split-complementary
#AB33CE #A3CE33 #33CE5E
monochromatic
#5A1A6D #83269E #AB33CE #BF64DA #D496E6

Accessibility & contrast

On white

5.13
#AB33CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB33CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33CE#FFFFFF#000000##FFFFFF
##AB33CE1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#A9557F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab33ce;
/* rgb */ color: rgb(171, 51, 206);
/* oklch */ color: oklch(56.7% 0.234 317.3);
Tailwind
colors: {
  custom: {
    50: '#c877de',
    500: '#ab33ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab33ce;
$custom-light: #c877de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33ce",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 206
  },
  "hsl": {
    "h": 286.452,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.23394,
    "h": 317.3
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#AB33CE
secondary
#9BD18C
accent
#E44368
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB33CE

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

Preview Lab → · Contrast checker → · Palette generator →

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