#AA37E5#AA37E5

#AA37E5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.5% C 0.250 H 310.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA37E5
RGBrgb(170, 55, 229)
HSLhsl(280, 77%, 56%)
HSVhsv(280, 76%, 90%)
CMYKcmyk(25.8%, 76%, 0%, 10.2%)
CIE-LABlab(48.18, 71.50, -66.52)
CIE-LCHlch(48.18, 97.66, 317.07°)
OKLaboklab(58.55% 0.1635 -0.1885)
OKLCHoklch(58.55% 0.25 310.9)
XYZxyz(32.0839, 16.9364, 75.6925)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA37E5 #72E537
analogous
#5337E5 #AA37E5 #E537C9
triadic
#AA37E5 #E5AA37 #37E5AA
tetradic
#AA37E5 #E55337 #72E537 #37C9E5
square
#AA37E5 #E55337 #72E537 #37C9E5
split-complementary
#AA37E5 #C9E537 #37E553
monochromatic
#65138F #8B1AC5 #AA37E5 #C16DEC #D8A3F3

Accessibility & contrast

On white

4.79
#AA37E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA37E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA37E5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA37E5#FFFFFF#000000##FFFFFF
##AA37E51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0674E1
Tritanopia (blue-blind)
#A2618D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa37e5;
/* rgb */ color: rgb(170, 55, 229);
/* oklch */ color: oklch(58.5% 0.250 310.9);
Tailwind
colors: {
  custom: {
    50: '#c97aee',
    500: '#aa37e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa37e5;
$custom-light: #c97aee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa37e5",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 229
  },
  "hsl": {
    "h": 279.655,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.24954,
    "h": 310.9
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#AA37E5
secondary
#B0E098
accent
#F43475
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AA37E5

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

Preview Lab → · Contrast checker → · Palette generator →

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