#AB33B5#AB33B5

#AB33B5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.213 H 324.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB33B5
RGBrgb(171, 51, 181)
HSLhsl(295, 56%, 45%)
HSVhsv(295, 72%, 71%)
CMYKcmyk(5.5%, 71.8%, 0%, 29%)
CIE-LABlab(44.75, 64.04, -44.34)
CIE-LCHlch(44.75, 77.89, 325.30°)
OKLaboklab(55.16% 0.1738 -0.1234)
OKLCHoklch(55.16% 0.213 324.6)
XYZxyz(26.3182, 14.3634, 45.0933)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B5 #3DB533
analogous
#6A33B5 #AB33B5 #B5337E
triadic
#AB33B5 #B5AB33 #33B5AB
tetradic
#AB33B5 #B56A33 #3DB533 #337EB5
square
#AB33B5 #B56A33 #3DB533 #337EB5
split-complementary
#AB33B5 #7EB533 #33B56A
monochromatic
#511856 #7E2685 #AB33B5 #C656CF #D686DD

Accessibility & contrast

On white

5.42
#AB33B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB33B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B5#FFFFFF#000000##FFFFFF
##AB33B51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761B9
Deuteranopia (green-blind)
#4C6FB2
Tritanopia (blue-blind)
#AF4971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b5;
/* rgb */ color: rgb(171, 51, 181);
/* oklch */ color: oklch(55.2% 0.213 324.6);
Tailwind
colors: {
  custom: {
    50: '#c876cc',
    500: '#ab33b5',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b5;
$custom-light: #c876cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b5",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 295.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.21316,
    "h": 324.6
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#AB33B5
secondary
#83C67D
accent
#DF4854
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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