#AA5EE2#AA5EE2

#AA5EE2 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.7% C 0.199 H 308.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA5EE2
RGBrgb(170, 94, 226)
HSLhsl(275, 69%, 63%)
HSVhsv(275, 58%, 89%)
CMYKcmyk(24.8%, 58.4%, 0%, 11.4%)
CIE-LABlab(54.07, 53.96, -55.33)
CIE-LCHlch(54.07, 77.28, 314.28°)
OKLaboklab(62.71% 0.123 -0.1559)
OKLCHoklch(62.71% 0.199 308.3)
XYZxyz(34.3050, 22.0429, 74.3843)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EE2 #96E25E
analogous
#685EE2 #AA5EE2 #E25ED8
triadic
#AA5EE2 #E2AA5E #5EE2AA
tetradic
#AA5EE2 #E2685E #96E25E #5ED8E2
square
#AA5EE2 #E2685E #96E25E #5ED8E2
split-complementary
#AA5EE2 #D8E25E #5EE268
monochromatic
#6D1EA7 #8F2AD9 #AA5EE2 #C592EB #E1C6F5

Accessibility & contrast

On white

3.88
#AA5EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AA5EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EE2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EE2#FFFFFF#000000##000000
##AA5EE21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE6
Deuteranopia (green-blind)
#4B82DF
Tritanopia (blue-blind)
#A27797
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5ee2;
/* rgb */ color: rgb(170, 94, 226);
/* oklch */ color: oklch(62.7% 0.199 308.3);
Tailwind
colors: {
  custom: {
    50: '#c78fec',
    500: '#aa5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ee2;
$custom-light: #c78fec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ee2",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 274.545,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.19855,
    "h": 308.3
  },
  "luminance": 0.22042
}

Semantic roles & 50–950 ramp

primary
#AA5EE2
secondary
#CAE6B6
accent
#D11464
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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