#AA37AA#AA37AA

#AA37AA is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.199 H 327.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AA37AA
RGBrgb(170, 55, 170)
HSLhsl(300, 51%, 44%)
HSVhsv(300, 68%, 67%)
CMYKcmyk(0%, 67.6%, 0%, 33.3%)
CIE-LABlab(44.49, 60.46, -38.26)
CIE-LCHlch(44.49, 71.55, 327.67°)
OKLaboklab(54.75% 0.1686 -0.1058)
OKLCHoklch(54.75% 0.199 327.9)
XYZxyz(25.1991, 14.1824, 39.4327)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37AA #37AA37
analogous
#7137AA #AA37AA #AA3771
triadic
#AA37AA #AAAA37 #37AAAA
tetradic
#AA37AA #AA7137 #37AA37 #3771AA
square
#AA37AA #AA7137 #37AA37 #3771AA
split-complementary
#AA37AA #71AA37 #37AA71
monochromatic
#4E194E #7C287C #AA37AA #C856C8 #D784D7

Accessibility & contrast

On white

5.47
#AA37AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AA37AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37AA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37AA#FFFFFF#000000##FFFFFF
##AA37AA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#546EA7
Tritanopia (blue-blind)
#AF476C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa37aa;
/* rgb */ color: rgb(170, 55, 170);
/* oklch */ color: oklch(54.7% 0.199 327.9);
Tailwind
colors: {
  custom: {
    50: '#c778c4',
    500: '#aa37aa',
    950: '#000000',
  },
}
SCSS
$custom: #aa37aa;
$custom-light: #c778c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37aa",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.19903,
    "h": 327.9
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#AA37AA
secondary
#7CC17C
accent
#DB4D4D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA37AA

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

Preview Lab → · Contrast checker → · Palette generator →

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