#AA37BB#AA37BB

#AA37BB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.213 H 322.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AA37BB
RGBrgb(170, 55, 187)
HSLhsl(292, 55%, 47%)
HSVhsv(292, 71%, 73%)
CMYKcmyk(9.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(45.45, 63.45, -46.74)
CIE-LCHlch(45.45, 78.81, 323.62°)
OKLaboklab(55.74% 0.1685 -0.1305)
OKLCHoklch(55.74% 0.213 322.2)
XYZxyz(26.9125, 14.8678, 48.4563)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37BB #48BB37
analogous
#6837BB #AA37BB #BB378A
triadic
#AA37BB #BBAA37 #37BBAA
tetradic
#AA37BB #BB6837 #48BB37 #378ABB
square
#AA37BB #BB6837 #48BB37 #378ABB
split-complementary
#AA37BB #8ABB37 #37BB68
monochromatic
#541B5C #7F298C #AA37BB #C15FD0 #D48EDE

Accessibility & contrast

On white

5.29
#AA37BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AA37BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37BB#FFFFFF#000000##FFFFFF
##AA37BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#AC4F75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa37bb;
/* rgb */ color: rgb(170, 55, 187);
/* oklch */ color: oklch(55.7% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#c778d0',
    500: '#aa37bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa37bb;
$custom-light: #c778d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37bb",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 292.273,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.21312,
    "h": 322.2
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#AA37BB
secondary
#8EC985
accent
#DE4A5D
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AA37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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