#AA37A2#AA37A2

#AA37A2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.193 H 330.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA37A2
RGBrgb(170, 55, 162)
HSLhsl(304, 51%, 44%)
HSVhsv(304, 68%, 67%)
CMYKcmyk(0%, 67.6%, 4.7%, 33.3%)
CIE-LABlab(44.07, 59.12, -34.17)
CIE-LCHlch(44.07, 68.28, 329.98°)
OKLaboklab(54.31% 0.1682 -0.094)
OKLCHoklch(54.31% 0.193 330.8)
XYZxyz(24.4653, 13.8889, 35.5677)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37A2 #37AA3F
analogous
#7937AA #AA37A2 #AA3769
triadic
#AA37A2 #A2AA37 #37A2AA
tetradic
#AA37A2 #AA7937 #37AA3F #3769AA
square
#AA37A2 #AA7937 #37AA3F #3769AA
split-complementary
#AA37A2 #69AA37 #37AA79
monochromatic
#4E194A #7C2876 #AA37A2 #C856C0 #D784D1

Accessibility & contrast

On white

5.56
#AA37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AA37A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37A2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37A2#FFFFFF#000000##FFFFFF
##AA37A21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa37a2;
/* rgb */ color: rgb(170, 55, 162);
/* oklch */ color: oklch(54.3% 0.193 330.8);
Tailwind
colors: {
  custom: {
    50: '#c777be',
    500: '#aa37a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa37a2;
$custom-light: #c777be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37a2",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 304.174,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.19264,
    "h": 330.8
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#AA37A2
secondary
#7CC181
accent
#DB574D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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