#AA36A8#AA36A8

#AA36A8 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.199 H 328.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA36A8
RGBrgb(170, 54, 168)
HSLhsl(301, 52%, 44%)
HSVhsv(301, 68%, 67%)
CMYKcmyk(0%, 68.2%, 1.2%, 33.3%)
CIE-LABlab(44.25, 60.50, -37.46)
CIE-LCHlch(44.25, 71.16, 328.24°)
OKLaboklab(54.54% 0.1696 -0.1035)
OKLCHoklch(54.54% 0.199 328.6)
XYZxyz(24.9643, 14.0133, 38.4282)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA36A8 #36AA38
analogous
#7236AA #AA36A8 #AA366E
triadic
#AA36A8 #A8AA36 #36A8AA
tetradic
#AA36A8 #AA7236 #36AA38 #366EAA
square
#AA36A8 #AA7236 #36AA38 #366EAA
split-complementary
#AA36A8 #6EAA36 #36AA72
monochromatic
#4D184C #7C277A #AA36A8 #C954C7 #D883D6

Accessibility & contrast

On white

5.52
#AA36A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA36A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA36A8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA36A8#FFFFFF#000000##FFFFFF
##AA36A81.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#B0466B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa36a8;
/* rgb */ color: rgb(170, 54, 168);
/* oklch */ color: oklch(54.5% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#c777c2',
    500: '#aa36a8',
    950: '#000000',
  },
}
SCSS
$custom: #aa36a8;
$custom-light: #c777c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa36a8",
  "rgb": {
    "r": 170,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 301.034,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.19865,
    "h": 328.6
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#AA36A8
secondary
#7BC17C
accent
#DB4F4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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