#AA33B1#AA33B1

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

Color values

HEX#AA33B1
RGBrgb(170, 51, 177)
HSLhsl(297, 55%, 45%)
HSVhsv(297, 71%, 69%)
CMYKcmyk(4%, 71.2%, 0%, 30.6%)
CIE-LABlab(44.36, 63.13, -42.61)
CIE-LCHlch(44.36, 76.16, 325.98°)
OKLaboklab(54.78% 0.1727 -0.1184)
OKLCHoklch(54.78% 0.209 325.6)
XYZxyz(25.6966, 14.0897, 42.9526)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33B1 #3AB133
analogous
#6B33B1 #AA33B1 #B13379
triadic
#AA33B1 #B1AA33 #33B1AA
tetradic
#AA33B1 #B16B33 #3AB133 #3379B1
square
#AA33B1 #B16B33 #3AB133 #3379B1
split-complementary
#AA33B1 #79B133 #33B16B
monochromatic
#4F1852 #7C2581 #AA33B1 #C754CE #D683DB

Accessibility & contrast

On white

5.50
#AA33B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AA33B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33B1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33B1#FFFFFF#000000##FFFFFF
##AA33B11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#AE486F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa33b1;
/* rgb */ color: rgb(170, 51, 177);
/* oklch */ color: oklch(54.8% 0.209 325.6);
Tailwind
colors: {
  custom: {
    50: '#c776c9',
    500: '#aa33b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa33b1;
$custom-light: #c776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33b1",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 296.667,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.20944,
    "h": 325.6
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#AA33B1
secondary
#7FC57B
accent
#DF4952
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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