#AB33B4#AB33B4

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

Color values

HEX#AB33B4
RGBrgb(171, 51, 180)
HSLhsl(296, 56%, 45%)
HSVhsv(296, 72%, 71%)
CMYKcmyk(5%, 71.7%, 0%, 29.4%)
CIE-LABlab(44.69, 63.87, -43.84)
CIE-LCHlch(44.69, 77.47, 325.53°)
OKLaboklab(55.1% 0.1738 -0.122)
OKLCHoklch(55.1% 0.212 324.9)
XYZxyz(26.2160, 14.3225, 44.5549)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B4 #3CB433
analogous
#6A33B4 #AB33B4 #B4337C
triadic
#AB33B4 #B4AB33 #33B4AB
tetradic
#AB33B4 #B46A33 #3CB433 #337CB4
square
#AB33B4 #B46A33 #3CB433 #337CB4
split-complementary
#AB33B4 #7CB433 #33B46A
monochromatic
#501855 #7E2584 #AB33B4 #C655CF #D685DC

Accessibility & contrast

On white

5.43
#AB33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB33B4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B4#FFFFFF#000000##FFFFFF
##AB33B41.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B60B8
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#AF4970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b4;
/* rgb */ color: rgb(171, 51, 180);
/* oklch */ color: oklch(55.1% 0.212 324.9);
Tailwind
colors: {
  custom: {
    50: '#c876cb',
    500: '#ab33b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b4;
$custom-light: #c876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b4",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 295.814,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.21235,
    "h": 324.9
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#AB33B4
secondary
#82C67D
accent
#DF4953
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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