#AA36A2#AA36A2

#AA36A2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.194 H 330.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AA36A2
RGBrgb(170, 54, 162)
HSLhsl(304, 52%, 44%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 68.2%, 4.7%, 33.3%)
CIE-LABlab(43.94, 59.50, -34.38)
CIE-LCHlch(43.94, 68.72, 329.98°)
OKLaboklab(54.21% 0.1693 -0.0946)
OKLCHoklch(54.21% 0.194 330.8)
XYZxyz(24.4182, 13.7949, 35.5520)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA36A2 #36AA3E
analogous
#7836AA #AA36A2 #AA3668
triadic
#AA36A2 #A2AA36 #36A2AA
tetradic
#AA36A2 #AA7836 #36AA3E #3668AA
square
#AA36A2 #AA7836 #36AA3E #3668AA
split-complementary
#AA36A2 #68AA36 #36AA78
monochromatic
#4D1849 #7C2776 #AA36A2 #C954C1 #D883D2

Accessibility & contrast

On white

5.59
#AA36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AA36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA36A2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA36A2#FFFFFF#000000##FFFFFF
##AA36A21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#B14368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa36a2;
/* rgb */ color: rgb(170, 54, 162);
/* oklch */ color: oklch(54.2% 0.194 330.8);
Tailwind
colors: {
  custom: {
    50: '#c777be',
    500: '#aa36a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa36a2;
$custom-light: #c777be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa36a2",
  "rgb": {
    "r": 170,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 304.138,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.19389,
    "h": 330.8
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#AA36A2
secondary
#7BC180
accent
#DB564D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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