#AA37C2#AA37C2

#AA37C2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.219 H 320.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA37C2
RGBrgb(170, 55, 194)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 72%, 76%)
CMYKcmyk(12.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(45.87, 64.73, -50.15)
CIE-LCHlch(45.87, 81.88, 322.23°)
OKLaboklab(56.18% 0.1681 -0.1405)
OKLCHoklch(56.18% 0.219 320.1)
XYZxyz(27.6802, 15.1749, 52.4995)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37C2 #4FC237
analogous
#6537C2 #AA37C2 #C23795
triadic
#AA37C2 #C2AA37 #37C2AA
tetradic
#AA37C2 #C26537 #4FC237 #3795C2
square
#AA37C2 #C26537 #4FC237 #3795C2
split-complementary
#AA37C2 #95C237 #37C265
monochromatic
#561C63 #802992 #AA37C2 #C063D3 #D393E0

Accessibility & contrast

On white

5.20
#AA37C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AA37C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37C2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37C2#FFFFFF#000000##FFFFFF
##AA37C21.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#AB5279
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa37c2;
/* rgb */ color: rgb(170, 55, 194);
/* oklch */ color: oklch(56.2% 0.219 320.1);
Tailwind
colors: {
  custom: {
    50: '#c779d5',
    500: '#aa37c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa37c2;
$custom-light: #c779d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37c2",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 289.64,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.21908,
    "h": 320.1
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#AA37C2
secondary
#95CB89
accent
#DF4963
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AA37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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