#AA5AE8#AA5AE8

#AA5AE8 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.211 H 307.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA5AE8
RGBrgb(170, 90, 232)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.7%, 61.2%, 0%, 9%)
CIE-LABlab(53.69, 57.29, -59.32)
CIE-LCHlch(53.69, 82.47, 314.01°)
OKLaboklab(62.55% 0.1277 -0.1675)
OKLCHoklch(62.55% 0.211 307.3)
XYZxyz(34.7962, 21.6850, 78.6808)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AE8 #98E85A
analogous
#635AE8 #AA5AE8 #E85ADF
triadic
#AA5AE8 #E8AA5A #5AE8AA
tetradic
#AA5AE8 #E8635A #98E85A #5ADFE8
square
#AA5AE8 #E8635A #98E85A #5ADFE8
split-complementary
#AA5AE8 #DFE85A #5AE863
monochromatic
#6D18AF #8E24E1 #AA5AE8 #C690EF #E1C5F7

Accessibility & contrast

On white

3.93
#AA5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AA5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AE8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AE8#FFFFFF#000000##000000
##AA5AE81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEC
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#A07699
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5ae8;
/* rgb */ color: rgb(170, 90, 232);
/* oklch */ color: oklch(62.5% 0.211 307.3);
Tailwind
colors: {
  custom: {
    50: '#c78df0',
    500: '#aa5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ae8;
$custom-light: #c78df0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ae8",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 273.803,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62547,
    "c": 0.21066,
    "h": 307.3
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#AA5AE8
secondary
#CCE8B5
accent
#D80E66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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