#AA37B2#AA37B2

#AA37B2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.206 H 325.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA37B2
RGBrgb(170, 55, 178)
HSLhsl(296, 53%, 46%)
HSVhsv(296, 69%, 70%)
CMYKcmyk(4.5%, 69.1%, 0%, 30.2%)
CIE-LABlab(44.93, 61.84, -42.29)
CIE-LCHlch(44.93, 74.92, 325.64°)
OKLaboklab(55.21% 0.1687 -0.1175)
OKLCHoklch(55.21% 0.206 325.1)
XYZxyz(25.9790, 14.4944, 43.5402)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37B2 #3FB237
analogous
#6D37B2 #AA37B2 #B2377C
triadic
#AA37B2 #B2AA37 #37B2AA
tetradic
#AA37B2 #B26D37 #3FB237 #377CB2
square
#AA37B2 #B26D37 #3FB237 #377CB2
split-complementary
#AA37B2 #7CB237 #37B26D
monochromatic
#511A54 #7D2983 #AA37B2 #C55ACC #D589DB

Accessibility & contrast

On white

5.39
#AA37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AA37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37B2#FFFFFF#000000##FFFFFF
##AA37B21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B6
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#AE4B71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa37b2;
/* rgb */ color: rgb(170, 55, 178);
/* oklch */ color: oklch(55.2% 0.206 325.1);
Tailwind
colors: {
  custom: {
    50: '#c778c9',
    500: '#aa37b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa37b2;
$custom-light: #c778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37b2",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 296.098,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.20559,
    "h": 325.1
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#AA37B2
secondary
#85C580
accent
#DC4C55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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