#AB33A7#AB33A7

#AB33A7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.202 H 329.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB33A7
RGBrgb(171, 51, 167)
HSLhsl(302, 54%, 44%)
HSVhsv(302, 70%, 67%)
CMYKcmyk(0%, 70.2%, 2.3%, 32.9%)
CIE-LABlab(43.97, 61.67, -37.30)
CIE-LCHlch(43.97, 72.07, 328.83°)
OKLaboklab(54.35% 0.1737 -0.103)
OKLCHoklch(54.35% 0.202 329.3)
XYZxyz(24.9533, 13.8174, 37.9045)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A7 #33AB37
analogous
#7333AB #AB33A7 #AB336B
triadic
#AB33A7 #A7AB33 #33A7AB
tetradic
#AB33A7 #AB7333 #33AB37 #336BAB
square
#AB33A7 #AB7333 #33AB37 #336BAB
split-complementary
#AB33A7 #6BAB33 #33AB73
monochromatic
#4D174B #7C2579 #AB33A7 #CB50C7 #D97FD6

Accessibility & contrast

On white

5.58
#AB33A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB33A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A7#FFFFFF#000000##FFFFFF
##AB33A71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B14369
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab33a7;
/* rgb */ color: rgb(171, 51, 167);
/* oklch */ color: oklch(54.3% 0.202 329.3);
Tailwind
colors: {
  custom: {
    50: '#c776c1',
    500: '#ab33a7',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a7;
$custom-light: #c776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a7",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 302,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.20198,
    "h": 329.3
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#AB33A7
secondary
#78C27A
accent
#DD4F4A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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