#AB33A4#AB33A4

#AB33A4 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.2% C 0.200 H 330.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB33A4
RGBrgb(171, 51, 164)
HSLhsl(304, 54%, 44%)
HSVhsv(304, 70%, 67%)
CMYKcmyk(0%, 70.2%, 4.1%, 32.9%)
CIE-LABlab(43.81, 61.18, -35.76)
CIE-LCHlch(43.81, 70.86, 329.69°)
OKLaboklab(54.18% 0.1736 -0.0985)
OKLCHoklch(54.18% 0.2 330.4)
XYZxyz(24.6792, 13.7078, 36.4608)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33A4 #33AB3A
analogous
#7633AB #AB33A4 #AB3368
triadic
#AB33A4 #A4AB33 #33A4AB
tetradic
#AB33A4 #AB7633 #33AB3A #3368AB
square
#AB33A4 #AB7633 #33AB3A #3368AB
split-complementary
#AB33A4 #68AB33 #33AB76
monochromatic
#4D174A #7C2577 #AB33A4 #CB50C4 #D97FD4

Accessibility & contrast

On white

5.61
#AB33A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB33A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33A4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33A4#FFFFFF#000000##FFFFFF
##AB33A41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#B14268
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab33a4;
/* rgb */ color: rgb(171, 51, 164);
/* oklch */ color: oklch(54.2% 0.200 330.4);
Tailwind
colors: {
  custom: {
    50: '#c776bf',
    500: '#ab33a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab33a4;
$custom-light: #c776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33a4",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 303.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.19964,
    "h": 330.4
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#AB33A4
secondary
#78C27C
accent
#DD534A
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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