#AA37B1#AA37B1

#AA37B1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.1% C 0.205 H 325.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AA37B1
RGBrgb(170, 55, 177)
HSLhsl(297, 53%, 45%)
HSVhsv(297, 69%, 69%)
CMYKcmyk(4%, 68.9%, 0%, 30.6%)
CIE-LABlab(44.88, 61.67, -41.79)
CIE-LCHlch(44.88, 74.49, 325.88°)
OKLaboklab(55.15% 0.1687 -0.1161)
OKLCHoklch(55.15% 0.205 325.5)
XYZxyz(25.8790, 14.4544, 43.0133)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37B1 #3EB137
analogous
#6D37B1 #AA37B1 #B1377B
triadic
#AA37B1 #B1AA37 #37B1AA
tetradic
#AA37B1 #B16D37 #3EB137 #377BB1
square
#AA37B1 #B16D37 #3EB137 #377BB1
split-complementary
#AA37B1 #7BB137 #37B16D
monochromatic
#501A54 #7D2882 #AA37B1 #C55ACC #D588DA

Accessibility & contrast

On white

5.40
#AA37B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA37B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37B1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37B1#FFFFFF#000000##FFFFFF
##AA37B11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C61B4
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#AE4A70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa37b1;
/* rgb */ color: rgb(170, 55, 177);
/* oklch */ color: oklch(55.1% 0.205 325.5);
Tailwind
colors: {
  custom: {
    50: '#c778c9',
    500: '#aa37b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa37b1;
$custom-light: #c778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37b1",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 296.557,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.20476,
    "h": 325.5
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#AA37B1
secondary
#84C480
accent
#DC4C54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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