#AA33B8#AA33B8

#AA33B8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.215 H 323.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AA33B8
RGBrgb(170, 51, 184)
HSLhsl(294, 57%, 46%)
HSVhsv(294, 72%, 72%)
CMYKcmyk(7.6%, 72.3%, 0%, 27.8%)
CIE-LABlab(44.77, 64.35, -46.08)
CIE-LCHlch(44.77, 79.15, 324.40°)
OKLaboklab(55.2% 0.1725 -0.1286)
OKLCHoklch(55.2% 0.215 323.3)
XYZxyz(26.4123, 14.3760, 46.7218)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33B8 #41B833
analogous
#6733B8 #AA33B8 #B83383
triadic
#AA33B8 #B8AA33 #33B8AA
tetradic
#AA33B8 #B86733 #41B833 #3383B8
square
#AA33B8 #B86733 #41B833 #3383B8
split-complementary
#AA33B8 #83B833 #33B867
monochromatic
#511858 #7E2688 #AA33B8 #C458D1 #D588DE

Accessibility & contrast

On white

5.42
#AA33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AA33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33B8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33B8#FFFFFF#000000##FFFFFF
##AA33B81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#496FB5
Tritanopia (blue-blind)
#AD4B73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa33b8;
/* rgb */ color: rgb(170, 51, 184);
/* oklch */ color: oklch(55.2% 0.215 323.3);
Tailwind
colors: {
  custom: {
    50: '#c776ce',
    500: '#aa33b8',
    950: '#000000',
  },
}
SCSS
$custom: #aa33b8;
$custom-light: #c776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33b8",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 293.684,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.21516,
    "h": 323.3
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#AA33B8
secondary
#87C87F
accent
#E04858
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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