#AA5AE1#AA5AE1

#AA5AE1 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.203 H 309.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA5AE1
RGBrgb(170, 90, 225)
HSLhsl(276, 69%, 62%)
HSVhsv(276, 60%, 88%)
CMYKcmyk(24.4%, 60%, 0%, 11.8%)
CIE-LABlab(53.27, 55.73, -56.05)
CIE-LCHlch(53.27, 79.04, 314.84°)
OKLaboklab(62.11% 0.1279 -0.158)
OKLCHoklch(62.11% 0.203 309)
XYZxyz(33.8217, 21.2952, 73.5482)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AE1 #91E15A
analogous
#675AE1 #AA5AE1 #E15AD4
triadic
#AA5AE1 #E1AA5A #5AE1AA
tetradic
#AA5AE1 #E1675A #91E15A #5AD4E1
square
#AA5AE1 #E1675A #91E15A #5AD4E1
split-complementary
#AA5AE1 #D4E15A #5AE167
monochromatic
#6D1EA3 #8F27D7 #AA5AE1 #C58EEA #DFC2F4

Accessibility & contrast

On white

3.99
#AA5AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AA5AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AE1#FFFFFF#000000##000000
##AA5AE11.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207CE5
Deuteranopia (green-blind)
#4880DE
Tritanopia (blue-blind)
#A27495
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5ae1;
/* rgb */ color: rgb(170, 90, 225);
/* oklch */ color: oklch(62.1% 0.203 309.0);
Tailwind
colors: {
  custom: {
    50: '#c78ceb',
    500: '#aa5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ae1;
$custom-light: #c78ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ae1",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 275.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62107,
    "c": 0.20323,
    "h": 309
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#AA5AE1
secondary
#C7E4B2
accent
#D11461
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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