#AA5AE7#AA5AE7

#AA5AE7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.210 H 307.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA5AE7
RGBrgb(170, 90, 231)
HSLhsl(274, 75%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.4%, 61%, 0%, 9.4%)
CIE-LABlab(53.63, 57.07, -58.85)
CIE-LCHlch(53.63, 81.98, 314.12°)
OKLaboklab(62.48% 0.1277 -0.1662)
OKLCHoklch(62.48% 0.21 307.5)
XYZxyz(34.6546, 21.6283, 77.9349)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AE7 #97E75A
analogous
#645AE7 #AA5AE7 #E75ADD
triadic
#AA5AE7 #E7AA5A #5AE7AA
tetradic
#AA5AE7 #E7645A #97E75A #5ADDE7
square
#AA5AE7 #E7645A #97E75A #5ADDE7
split-complementary
#AA5AE7 #DDE75A #5AE764
monochromatic
#6D19AD #8E25DF #AA5AE7 #C68FEF #E1C5F7

Accessibility & contrast

On white

3.94
#AA5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AA5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AE7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AE7#FFFFFF#000000##000000
##AA5AE71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#107DEB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#A17698
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5ae7;
/* rgb */ color: rgb(170, 90, 231);
/* oklch */ color: oklch(62.5% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#c78def',
    500: '#aa5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ae7;
$custom-light: #c78def;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ae7",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 274.043,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.2096,
    "h": 307.5
  },
  "luminance": 0.21628
}

Semantic roles & 50–950 ramp

primary
#AA5AE7
secondary
#CBE8B5
accent
#D70F65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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