#AB33AA#AB33AA

#AB33AA is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.204 H 328.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB33AA
RGBrgb(171, 51, 170)
HSLhsl(301, 54%, 44%)
HSVhsv(301, 70%, 67%)
CMYKcmyk(0%, 70.2%, 0.6%, 32.9%)
CIE-LABlab(44.13, 62.17, -38.82)
CIE-LCHlch(44.13, 73.29, 328.02°)
OKLaboklab(54.52% 0.1738 -0.1074)
OKLCHoklch(54.52% 0.204 328.3)
XYZxyz(25.2338, 13.9297, 39.3820)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB33AA #33AB34
analogous
#7033AB #AB33AA #AB336E
triadic
#AB33AA #AAAB33 #33AAAB
tetradic
#AB33AA #AB7033 #33AB34 #336EAB
square
#AB33AA #AB7033 #33AB34 #336EAB
split-complementary
#AB33AA #6EAB33 #33AB70
monochromatic
#4D174C #7C257B #AB33AA #CB50CA #D97FD8

Accessibility & contrast

On white

5.55
#AB33AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB33AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB33AA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB33AA#FFFFFF#000000##FFFFFF
##AB33AA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#B0446B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab33aa;
/* rgb */ color: rgb(171, 51, 170);
/* oklch */ color: oklch(54.5% 0.204 328.3);
Tailwind
colors: {
  custom: {
    50: '#c876c4',
    500: '#ab33aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab33aa;
$custom-light: #c876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab33aa",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 300.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54517,
    "c": 0.20434,
    "h": 328.3
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#AB33AA
secondary
#78C278
accent
#DD4C4A
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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