#AB33BD#AB33BD

#AB33BD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.220 H 322.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB33BD
RGBrgb(171, 51, 189)
HSLhsl(292, 58%, 47%)
HSVhsv(292, 73%, 74%)
CMYKcmyk(9.5%, 73%, 0%, 25.9%)
CIE-LABlab(45.22, 65.45, -48.27)
CIE-LCHlch(45.22, 81.33, 323.59°)
OKLaboklab(55.65% 0.1734 -0.1349)
OKLCHoklch(55.65% 0.22 322.1)
XYZxyz(27.1628, 14.7012, 49.5411)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33BD #45BD33
analogous
#6633BD #AB33BD #BD338A
triadic
#AB33BD #BDAB33 #33BDAB
tetradic
#AB33BD #BD6633 #45BD33 #338ABD
square
#AB33BD #BD6633 #45BD33 #338ABD
split-complementary
#AB33BD #8ABD33 #33BD66
monochromatic
#54195D #7F268D #AB33BD #C35BD3 #D58BE0

Accessibility & contrast

On white

5.33
#AB33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33BD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33BD#FFFFFF#000000##FFFFFF
##AB33BD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#AD4D75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab33bd;
/* rgb */ color: rgb(171, 51, 189);
/* oklch */ color: oklch(55.6% 0.220 322.1);
Tailwind
colors: {
  custom: {
    50: '#c877d1',
    500: '#ab33bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab33bd;
$custom-light: #c877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33bd",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 292.174,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.21972,
    "h": 322.1
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#AB33BD
secondary
#8BCA82
accent
#E1475B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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