#AA36CC#AA36CC

#AA36CC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 317.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA36CC
RGBrgb(170, 54, 204)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 74%, 80%)
CMYKcmyk(16.7%, 73.5%, 0%, 20%)
CIE-LABlab(46.37, 66.96, -55.14)
CIE-LCHlch(46.37, 86.75, 320.53°)
OKLaboklab(56.73% 0.1682 -0.1551)
OKLCHoklch(56.73% 0.229 317.3)
XYZxyz(28.7942, 15.5453, 58.5988)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA36CC #58CC36
analogous
#5F36CC #AA36CC #CC36A3
triadic
#AA36CC #CCAA36 #36CCAA
tetradic
#AA36CC #CC5F36 #58CC36 #36A3CC
square
#AA36CC #CC5F36 #58CC36 #36A3CC
split-complementary
#AA36CC #A3CC36 #36CC5F
monochromatic
#5A1B6C #82289D #AA36CC #BF67D8 #D398E5

Accessibility & contrast

On white

5.11
#AA36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AA36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA36CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA36CC#FFFFFF#000000##FFFFFF
##AA36CC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#A8557F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa36cc;
/* rgb */ color: rgb(170, 54, 204);
/* oklch */ color: oklch(56.7% 0.229 317.3);
Tailwind
colors: {
  custom: {
    50: '#c878dc',
    500: '#aa36cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa36cc;
$custom-light: #c878dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa36cc",
  "rgb": {
    "r": 170,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 286.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.22876,
    "h": 317.3
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#AA36CC
secondary
#9DD08E
accent
#E34569
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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