#AB33CD#AB33CD

#AB33CD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.233 H 317.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB33CD
RGBrgb(171, 51, 205)
HSLhsl(287, 61%, 50%)
HSVhsv(287, 75%, 80%)
CMYKcmyk(16.6%, 75.1%, 0%, 19.6%)
CIE-LABlab(46.22, 68.39, -55.95)
CIE-LCHlch(46.22, 88.36, 320.71°)
OKLaboklab(56.68% 0.1719 -0.1574)
OKLCHoklch(56.68% 0.233 317.5)
XYZxyz(28.9963, 15.4346, 59.1976)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33CD #55CD33
analogous
#5E33CD #AB33CD #CD33A2
triadic
#AB33CD #CDAB33 #33CDAB
tetradic
#AB33CD #CD5E33 #55CD33 #33A2CD
square
#AB33CD #CD5E33 #55CD33 #33A2CD
split-complementary
#AB33CD #A2CD33 #33CD5E
monochromatic
#591A6B #82269C #AB33CD #BF64D9 #D395E5

Accessibility & contrast

On white

5.14
#AB33CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AB33CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33CD#FFFFFF#000000##FFFFFF
##AB33CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#AA547E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab33cd;
/* rgb */ color: rgb(171, 51, 205);
/* oklch */ color: oklch(56.7% 0.233 317.5);
Tailwind
colors: {
  custom: {
    50: '#c877dd',
    500: '#ab33cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab33cd;
$custom-light: #c877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33cd",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 286.753,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.2331,
    "h": 317.5
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#AB33CD
secondary
#9BD08B
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB33CD

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

Preview Lab → · Contrast checker → · Palette generator →

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