#AA37CF#AA37CF

#AA37CF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.230 H 316.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA37CF
RGBrgb(170, 55, 207)
HSLhsl(285, 61%, 51%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(17.9%, 73.4%, 0%, 18.8%)
CIE-LABlab(46.69, 67.18, -56.36)
CIE-LCHlch(46.69, 87.69, 320.00°)
OKLaboklab(57.02% 0.1669 -0.1587)
OKLCHoklch(57.02% 0.23 316.4)
XYZxyz(29.2045, 15.7846, 60.5278)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37CF #5CCF37
analogous
#5E37CF #AA37CF #CF37A8
triadic
#AA37CF #CFAA37 #37CFAA
tetradic
#AA37CF #CF5E37 #5CCF37 #37A8CF
square
#AA37CF #CF5E37 #5CCF37 #37A8CF
split-complementary
#AA37CF #A8CF37 #37CF5E
monochromatic
#5C1B71 #8427A2 #AA37CF #BF68DB #D49AE7

Accessibility & contrast

On white

5.05
#AA37CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AA37CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37CF#FFFFFF#000000##FFFFFF
##AA37CF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#A85781
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa37cf;
/* rgb */ color: rgb(170, 55, 207);
/* oklch */ color: oklch(57.0% 0.230 316.4);
Tailwind
colors: {
  custom: {
    50: '#c879de',
    500: '#aa37cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa37cf;
$custom-light: #c879de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37cf",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 285.395,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.23029,
    "h": 316.4
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#AA37CF
secondary
#A0D28F
accent
#E4436B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA37CF

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

Preview Lab → · Contrast checker → · Palette generator →

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