#AB33B7#AB33B7

#AB33B7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB33B7
RGBrgb(171, 51, 183)
HSLhsl(295, 56%, 46%)
HSVhsv(295, 72%, 72%)
CMYKcmyk(6.6%, 72.1%, 0%, 28.2%)
CIE-LABlab(44.87, 64.39, -45.33)
CIE-LCHlch(44.87, 78.74, 324.86°)
OKLaboklab(55.28% 0.1737 -0.1263)
OKLCHoklch(55.28% 0.215 324)
XYZxyz(26.5249, 14.4461, 46.1818)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33B7 #3FB733
analogous
#6933B7 #AB33B7 #B73381
triadic
#AB33B7 #B7AB33 #33B7AB
tetradic
#AB33B7 #B76933 #3FB733 #3381B7
square
#AB33B7 #B76933 #3FB733 #3381B7
split-complementary
#AB33B7 #81B733 #33B769
monochromatic
#521857 #7E2687 #AB33B7 #C557D0 #D687DE

Accessibility & contrast

On white

5.40
#AB33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33B7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33B7#FFFFFF#000000##FFFFFF
##AB33B71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#AE4A72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab33b7;
/* rgb */ color: rgb(171, 51, 183);
/* oklch */ color: oklch(55.3% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#c876cd',
    500: '#ab33b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab33b7;
$custom-light: #c876cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33b7",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 294.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.21479,
    "h": 324
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#AB33B7
secondary
#85C77F
accent
#E04856
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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