#AB33AC#AB33AC

#AB33AC is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.206 H 327.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB33AC
RGBrgb(171, 51, 172)
HSLhsl(300, 54%, 44%)
HSVhsv(300, 70%, 67%)
CMYKcmyk(0.6%, 70.3%, 0%, 32.5%)
CIE-LABlab(44.24, 62.50, -39.83)
CIE-LCHlch(44.24, 74.12, 327.49°)
OKLaboklab(54.63% 0.1739 -0.1103)
OKLCHoklch(54.63% 0.206 327.6)
XYZxyz(25.4244, 14.0059, 40.3860)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33AC #34AC33
analogous
#6E33AC #AB33AC #AC3370
triadic
#AB33AC #ACAB33 #33ACAB
tetradic
#AB33AC #AC6E33 #34AC33 #3370AC
square
#AB33AC #AC6E33 #34AC33 #3370AC
split-complementary
#AB33AC #70AC33 #33AC6E
monochromatic
#4D174E #7C257D #AB33AC #CA51CB #D980D9

Accessibility & contrast

On white

5.53
#AB33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33AC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33AC#FFFFFF#000000##FFFFFF
##AB33AC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#B0456C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab33ac;
/* rgb */ color: rgb(171, 51, 172);
/* oklch */ color: oklch(54.6% 0.206 327.6);
Tailwind
colors: {
  custom: {
    50: '#c876c5',
    500: '#ab33ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab33ac;
$custom-light: #c876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33ac",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 299.504,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.20592,
    "h": 327.6
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#AB33AC
secondary
#79C278
accent
#DE4A4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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