#AA33C8#AA33C8

#AA33C8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.229 H 318.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA33C8
RGBrgb(170, 51, 200)
HSLhsl(288, 59%, 49%)
HSVhsv(288, 75%, 78%)
CMYKcmyk(15%, 74.5%, 0%, 21.6%)
CIE-LABlab(45.75, 67.26, -53.83)
CIE-LCHlch(45.75, 86.15, 321.33°)
OKLaboklab(56.21% 0.1713 -0.1512)
OKLCHoklch(56.21% 0.229 318.6)
XYZxyz(28.1853, 15.0852, 56.0595)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA33C8 #51C833
analogous
#5F33C8 #AA33C8 #C8339C
triadic
#AA33C8 #C8AA33 #33C8AA
tetradic
#AA33C8 #C85F33 #51C833 #339CC8
square
#AA33C8 #C85F33 #51C833 #339CC8
split-complementary
#AA33C8 #9CC833 #33C85F
monochromatic
#571A66 #812797 #AA33C8 #BF61D7 #D392E3

Accessibility & contrast

On white

5.23
#AA33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA33C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA33C8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA33C8#FFFFFF#000000##FFFFFF
##AA33C81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#A9527C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa33c8;
/* rgb */ color: rgb(170, 51, 200);
/* oklch */ color: oklch(56.2% 0.229 318.6);
Tailwind
colors: {
  custom: {
    50: '#c777d9',
    500: '#aa33c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa33c8;
$custom-light: #c777d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa33c8",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 287.919,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.2285,
    "h": 318.6
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#AA33C8
secondary
#97CE89
accent
#E34565
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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