#AA33AA#AA33AA

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

Color values

HEX#AA33AA
RGBrgb(170, 51, 170)
HSLhsl(300, 54%, 43%)
HSVhsv(300, 70%, 67%)
CMYKcmyk(0%, 70%, 0%, 33.3%)
CIE-LABlab(43.97, 61.94, -39.09)
CIE-LCHlch(43.97, 73.24, 327.74°)
OKLaboklab(54.37% 0.1727 -0.1082)
OKLCHoklch(54.37% 0.204 327.9)
XYZxyz(25.0168, 13.8177, 39.3719)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33AA #33AA33
analogous
#6E33AA #AA33AA #AA336E
triadic
#AA33AA #AAAA33 #33AAAA
tetradic
#AA33AA #AA6E33 #33AA33 #336EAA
square
#AA33AA #AA6E33 #33AA33 #336EAA
split-complementary
#AA33AA #6EAA33 #33AA6E
monochromatic
#4C174C #7B257B #AA33AA #CA50CA #D97FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA33AA#FFFFFF#000000##FFFFFF
##AA33AA1.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)
#1F5EAD
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#AF446B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa33aa;
/* rgb */ color: rgb(170, 51, 170);
/* oklch */ color: oklch(54.4% 0.204 327.9);
Tailwind
colors: {
  custom: {
    50: '#c776c4',
    500: '#aa33aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa33aa;
$custom-light: #c776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33aa",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.20383,
    "h": 327.9
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#AA33AA
secondary
#77C277
accent
#DD4B4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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