#AA5EE7#AA5EE7

#AA5EE7 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.0% C 0.204 H 307.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA5EE7
RGBrgb(170, 94, 231)
HSLhsl(273, 74%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(26.4%, 59.3%, 0%, 9.4%)
CIE-LABlab(54.37, 55.08, -57.67)
CIE-LCHlch(54.37, 79.75, 313.68°)
OKLaboklab(63.02% 0.123 -0.1627)
OKLCHoklch(63.02% 0.204 307.1)
XYZxyz(35.0011, 22.3214, 78.0504)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EE7 #9BE75E
analogous
#655EE7 #AA5EE7 #E75EDF
triadic
#AA5EE7 #E7AA5E #5EE7AA
tetradic
#AA5EE7 #E7655E #9BE75E #5EDFE7
square
#AA5EE7 #E7655E #9BE75E #5EDFE7
split-complementary
#AA5EE7 #DFE75E #5EE765
monochromatic
#6E1AB0 #8E29DF #AA5EE7 #C693EF #E2C9F7

Accessibility & contrast

On white

3.84
#AA5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AA5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EE7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EE7#FFFFFF#000000##000000
##AA5EE71.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#A0799A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5ee7;
/* rgb */ color: rgb(170, 94, 231);
/* oklch */ color: oklch(63.0% 0.204 307.1);
Tailwind
colors: {
  custom: {
    50: '#c78fef',
    500: '#aa5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ee7;
$custom-light: #c78fef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ee7",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 273.285,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.20398,
    "h": 307.1
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#AA5EE7
secondary
#CEE9B8
accent
#D60F68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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