#AB33A5#AB33A5

#AB33A5 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.200 H 330.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB33A5
RGBrgb(171, 51, 165)
HSLhsl(303, 54%, 44%)
HSVhsv(303, 70%, 67%)
CMYKcmyk(0%, 70.2%, 3.5%, 32.9%)
CIE-LABlab(43.86, 61.34, -36.27)
CIE-LCHlch(43.86, 71.26, 329.40°)
OKLaboklab(54.24% 0.1737 -0.1)
OKLCHoklch(54.24% 0.2 330.1)
XYZxyz(24.7698, 13.7441, 36.9383)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A5 #33AB39
analogous
#7533AB #AB33A5 #AB3369
triadic
#AB33A5 #A5AB33 #33A5AB
tetradic
#AB33A5 #AB7533 #33AB39 #3369AB
square
#AB33A5 #AB7533 #33AB39 #3369AB
split-complementary
#AB33A5 #69AB33 #33AB75
monochromatic
#4D174A #7C2578 #AB33A5 #CB50C5 #D97FD4

Accessibility & contrast

On white

5.60
#AB33A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB33A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A5#FFFFFF#000000##FFFFFF
##AB33A51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA8
Deuteranopia (green-blind)
#566DA2
Tritanopia (blue-blind)
#B14268
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab33a5;
/* rgb */ color: rgb(171, 51, 165);
/* oklch */ color: oklch(54.2% 0.200 330.1);
Tailwind
colors: {
  custom: {
    50: '#c776c0',
    500: '#ab33a5',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a5;
$custom-light: #c776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a5",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 303,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.20042,
    "h": 330.1
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#AB33A5
secondary
#78C27B
accent
#DD524A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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