#AB33C2#AB33C2

#AB33C2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.224 H 320.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB33C2
RGBrgb(171, 51, 194)
HSLhsl(290, 58%, 48%)
HSVhsv(290, 74%, 76%)
CMYKcmyk(11.9%, 73.7%, 0%, 23.9%)
CIE-LABlab(45.53, 66.36, -50.70)
CIE-LCHlch(45.53, 83.51, 322.62°)
OKLaboklab(55.96% 0.1731 -0.142)
OKLCHoklch(55.96% 0.224 320.6)
XYZxyz(27.7149, 14.9221, 52.4489)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33C2 #4AC233
analogous
#6433C2 #AB33C2 #C23391
triadic
#AB33C2 #C2AB33 #33C2AB
tetradic
#AB33C2 #C26433 #4AC233 #3391C2
square
#AB33C2 #C26433 #4AC233 #3391C2
split-complementary
#AB33C2 #91C233 #33C264
monochromatic
#561A61 #802692 #AB33C2 #C15ED5 #D48EE1

Accessibility & contrast

On white

5.27
#AB33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33C2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33C2#FFFFFF#000000##FFFFFF
##AB33C21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#AC4F78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab33c2;
/* rgb */ color: rgb(171, 51, 194);
/* oklch */ color: oklch(56.0% 0.224 320.6);
Tailwind
colors: {
  custom: {
    50: '#c877d5',
    500: '#ab33c2',
    950: '#000000',
  },
}
SCSS
$custom: #ab33c2;
$custom-light: #c877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33c2",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 290.35,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.22387,
    "h": 320.6
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#AB33C2
secondary
#90CC85
accent
#E2465F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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