#AA33B2#AA33B2

#AA33B2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.210 H 325.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AA33B2
RGBrgb(170, 51, 178)
HSLhsl(296, 55%, 45%)
HSVhsv(296, 71%, 70%)
CMYKcmyk(4.5%, 71.3%, 0%, 30.2%)
CIE-LABlab(44.42, 63.30, -43.11)
CIE-LCHlch(44.42, 76.59, 325.75°)
OKLaboklab(54.84% 0.1727 -0.1199)
OKLCHoklch(54.84% 0.21 325.2)
XYZxyz(25.7967, 14.1297, 43.4794)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33B2 #3BB233
analogous
#6A33B2 #AA33B2 #B2337B
triadic
#AA33B2 #B2AA33 #33B2AA
tetradic
#AA33B2 #B26A33 #3BB233 #337BB2
square
#AA33B2 #B26A33 #3BB233 #337BB2
split-complementary
#AA33B2 #7BB233 #33B26A
monochromatic
#4F1853 #7D2582 #AA33B2 #C654CE #D684DC

Accessibility & contrast

On white

5.49
#AA33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA33B2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33B2#FFFFFF#000000##FFFFFF
##AA33B21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#AE486F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa33b2;
/* rgb */ color: rgb(170, 51, 178);
/* oklch */ color: oklch(54.8% 0.210 325.2);
Tailwind
colors: {
  custom: {
    50: '#c776c9',
    500: '#aa33b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa33b2;
$custom-light: #c776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33b2",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 296.22,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.21026,
    "h": 325.2
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#AA33B2
secondary
#80C57C
accent
#DF4952
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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