#AA33B3#AA33B3

#AA33B3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.211 H 324.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA33B3
RGBrgb(170, 51, 179)
HSLhsl(296, 56%, 45%)
HSVhsv(296, 72%, 70%)
CMYKcmyk(5%, 71.5%, 0%, 29.8%)
CIE-LABlab(44.48, 63.48, -43.61)
CIE-LCHlch(44.48, 77.01, 325.51°)
OKLaboklab(54.9% 0.1727 -0.1213)
OKLCHoklch(54.9% 0.211 324.9)
XYZxyz(25.8974, 14.1700, 44.0101)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33B3 #3CB333
analogous
#6A33B3 #AA33B3 #B3337C
triadic
#AA33B3 #B3AA33 #33B3AA
tetradic
#AA33B3 #B36A33 #3CB333 #337CB3
square
#AA33B3 #B36A33 #3CB333 #337CB3
split-complementary
#AA33B3 #7CB333 #33B36A
monochromatic
#501854 #7D2583 #AA33B3 #C655CE #D684DC

Accessibility & contrast

On white

5.48
#AA33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AA33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33B3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33B3#FFFFFF#000000##FFFFFF
##AA33B31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C60B7
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#AE4970
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa33b3;
/* rgb */ color: rgb(170, 51, 179);
/* oklch */ color: oklch(54.9% 0.211 324.9);
Tailwind
colors: {
  custom: {
    50: '#c776ca',
    500: '#aa33b3',
    950: '#000000',
  },
}
SCSS
$custom: #aa33b3;
$custom-light: #c776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33b3",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 295.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.21107,
    "h": 324.9
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#AA33B3
secondary
#81C67C
accent
#DF4953
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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