#AA37A7#AA37A7

#AA37A7 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.197 H 328.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AA37A7
RGBrgb(170, 55, 167)
HSLhsl(302, 51%, 44%)
HSVhsv(302, 68%, 67%)
CMYKcmyk(0%, 67.6%, 1.8%, 33.3%)
CIE-LABlab(44.33, 59.95, -36.73)
CIE-LCHlch(44.33, 70.31, 328.50°)
OKLaboklab(54.58% 0.1684 -0.1014)
OKLCHoklch(54.58% 0.197 328.9)
XYZxyz(24.9186, 14.0702, 37.9551)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37A7 #37AA3A
analogous
#7437AA #AA37A7 #AA376E
triadic
#AA37A7 #A7AA37 #37A7AA
tetradic
#AA37A7 #AA7437 #37AA3A #376EAA
square
#AA37A7 #AA7437 #37AA3A #376EAA
split-complementary
#AA37A7 #6EAA37 #37AA74
monochromatic
#4E194C #7C287A #AA37A7 #C856C5 #D784D5

Accessibility & contrast

On white

5.51
#AA37A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AA37A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37A7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37A7#FFFFFF#000000##FFFFFF
##AA37A71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAA
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#B0466B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa37a7;
/* rgb */ color: rgb(170, 55, 167);
/* oklch */ color: oklch(54.6% 0.197 328.9);
Tailwind
colors: {
  custom: {
    50: '#c778c1',
    500: '#aa37a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa37a7;
$custom-light: #c778c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37a7",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 301.565,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.19661,
    "h": 328.9
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#AA37A7
secondary
#7CC17E
accent
#DB514D
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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