#AB33A0#AB33A0

#AB33A0 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.197 H 331.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB33A0
RGBrgb(171, 51, 160)
HSLhsl(306, 54%, 44%)
HSVhsv(306, 70%, 67%)
CMYKcmyk(0%, 70.2%, 6.4%, 32.9%)
CIE-LABlab(43.60, 60.53, -33.70)
CIE-LCHlch(43.60, 69.28, 330.89°)
OKLaboklab(53.97% 0.1734 -0.0926)
OKLCHoklch(53.97% 0.197 331.9)
XYZxyz(24.3236, 13.5656, 34.5882)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A0 #33AB3E
analogous
#7A33AB #AB33A0 #AB3364
triadic
#AB33A0 #A0AB33 #33A0AB
tetradic
#AB33A0 #AB7A33 #33AB3E #3364AB
square
#AB33A0 #AB7A33 #33AB3E #3364AB
split-complementary
#AB33A0 #64AB33 #33AB7A
monochromatic
#4D1748 #7C2574 #AB33A0 #CB50C0 #D97FD1

Accessibility & contrast

On white

5.66
#AB33A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB33A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A0#FFFFFF#000000##FFFFFF
##AB33A01.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA3
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#B24066
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab33a0;
/* rgb */ color: rgb(171, 51, 160);
/* oklch */ color: oklch(54.0% 0.197 331.9);
Tailwind
colors: {
  custom: {
    50: '#c776bc',
    500: '#ab33a0',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a0;
$custom-light: #c776bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a0",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 305.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.19657,
    "h": 331.9
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#AB33A0
secondary
#78C27F
accent
#DD584A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A0

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

Preview Lab → · Contrast checker → · Palette generator →

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