#AB33B1#AB33B1

#AB33B1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.210 H 325.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB33B1
RGBrgb(171, 51, 177)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 69%)
CMYKcmyk(3.4%, 71.2%, 0%, 30.6%)
CIE-LABlab(44.52, 63.35, -42.35)
CIE-LCHlch(44.52, 76.20, 326.24°)
OKLaboklab(54.92% 0.1739 -0.1176)
OKLCHoklch(54.92% 0.21 325.9)
XYZxyz(25.9137, 14.2016, 42.9627)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B1 #39B133
analogous
#6C33B1 #AB33B1 #B13378
triadic
#AB33B1 #B1AB33 #33B1AB
tetradic
#AB33B1 #B16C33 #39B133 #3378B1
square
#AB33B1 #B16C33 #39B133 #3378B1
split-complementary
#AB33B1 #78B133 #33B16C
monochromatic
#4F1852 #7D2581 #AB33B1 #C854CE #D783DB

Accessibility & contrast

On white

5.47
#AB33B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AB33B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B1#FFFFFF#000000##FFFFFF
##AB33B11.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#AF476F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab33b1;
/* rgb */ color: rgb(171, 51, 177);
/* oklch */ color: oklch(54.9% 0.210 325.9);
Tailwind
colors: {
  custom: {
    50: '#c876c9',
    500: '#ab33b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b1;
$custom-light: #c876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b1",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 297.143,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.20993,
    "h": 325.9
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#AB33B1
secondary
#7FC57B
accent
#DF4950
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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