#AA37CC#AA37CC

#AA37CC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.228 H 317.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AA37CC
RGBrgb(170, 55, 204)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 73%, 80%)
CMYKcmyk(16.7%, 73%, 0%, 20%)
CIE-LABlab(46.50, 66.61, -54.94)
CIE-LCHlch(46.50, 86.34, 320.48°)
OKLaboklab(56.82% 0.1672 -0.1545)
OKLCHoklch(56.82% 0.228 317.3)
XYZxyz(28.8412, 15.6393, 58.6145)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37CC #59CC37
analogous
#5F37CC #AA37CC #CC37A3
triadic
#AA37CC #CCAA37 #37CCAA
tetradic
#AA37CC #CC5F37 #59CC37 #37A3CC
square
#AA37CC #CC5F37 #59CC37 #37A3CC
split-complementary
#AA37CC #A3CC37 #37CC5F
monochromatic
#5A1C6D #83289E #AA37CC #BF68D8 #D399E5

Accessibility & contrast

On white

5.09
#AA37CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AA37CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37CC#FFFFFF#000000##FFFFFF
##AA37CC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#A8567F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa37cc;
/* rgb */ color: rgb(170, 55, 204);
/* oklch */ color: oklch(56.8% 0.228 317.3);
Tailwind
colors: {
  custom: {
    50: '#c779dc',
    500: '#aa37cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa37cc;
$custom-light: #c779dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37cc",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 286.309,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56823,
    "c": 0.22768,
    "h": 317.3
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#AA37CC
secondary
#9DD08E
accent
#E34569
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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