#AA5AED#AA5AED

#AA5AED is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.216 H 306.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AA5AED
RGBrgb(170, 90, 237)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(28.3%, 62%, 0%, 7.1%)
CIE-LABlab(54.00, 58.42, -61.63)
CIE-LCHlch(54.00, 84.91, 313.47°)
OKLaboklab(62.87% 0.1275 -0.1743)
OKLCHoklch(62.87% 0.216 306.2)
XYZxyz(35.5165, 21.9731, 82.4745)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AED #9DED5A
analogous
#615AED #AA5AED #ED5AE7
triadic
#AA5AED #EDAA5A #5AEDAA
tetradic
#AA5AED #ED615A #9DED5A #5AE7ED
square
#AA5AED #ED615A #9DED5A #5AE7ED
split-complementary
#AA5AED #E7ED5A #5AED61
monochromatic
#6E14B8 #8E23E7 #AA5AED #C691F3 #E3C8F9

Accessibility & contrast

On white

3.89
#AA5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AA5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AED
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AED#FFFFFF#000000##000000
##AA5AED1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3A82EA
Tritanopia (blue-blind)
#9F789B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5aed;
/* rgb */ color: rgb(170, 90, 237);
/* oklch */ color: oklch(62.9% 0.216 306.2);
Tailwind
colors: {
  custom: {
    50: '#c78df4',
    500: '#aa5aed',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aed;
$custom-light: #c78df4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aed",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 272.653,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.21597,
    "h": 306.2
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#AA5AED
secondary
#CFEBB8
accent
#DD0969
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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