#AB33B3#AB33B3

#AB33B3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.212 H 325.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB33B3
RGBrgb(171, 51, 179)
HSLhsl(296, 56%, 45%)
HSVhsv(296, 72%, 70%)
CMYKcmyk(4.5%, 71.5%, 0%, 29.8%)
CIE-LABlab(44.63, 63.70, -43.34)
CIE-LCHlch(44.63, 77.04, 325.76°)
OKLaboklab(55.04% 0.1738 -0.1205)
OKLCHoklch(55.04% 0.212 325.3)
XYZxyz(26.1145, 14.2819, 44.0203)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B3 #3BB333
analogous
#6B33B3 #AB33B3 #B3337B
triadic
#AB33B3 #B3AB33 #33B3AB
tetradic
#AB33B3 #B36B33 #3BB333 #337BB3
square
#AB33B3 #B36B33 #3BB333 #337BB3
split-complementary
#AB33B3 #7BB333 #33B36B
monochromatic
#501854 #7D2583 #AB33B3 #C755CE #D784DC

Accessibility & contrast

On white

5.45
#AB33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B3#FFFFFF#000000##FFFFFF
##AB33B31.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#AF4870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b3;
/* rgb */ color: rgb(171, 51, 179);
/* oklch */ color: oklch(55.0% 0.212 325.3);
Tailwind
colors: {
  custom: {
    50: '#c876ca',
    500: '#ab33b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b3;
$custom-light: #c876ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b3",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 296.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.21153,
    "h": 325.3
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#AB33B3
secondary
#81C67C
accent
#DF4952
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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