#AA5AEA#AA5AEA

#AA5AEA is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.213 H 306.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AA5AEA
RGBrgb(170, 90, 234)
HSLhsl(273, 77%, 64%)
HSVhsv(273, 62%, 92%)
CMYKcmyk(27.4%, 61.5%, 0%, 8.2%)
CIE-LABlab(53.81, 57.74, -60.24)
CIE-LCHlch(53.81, 83.45, 313.79°)
OKLaboklab(62.68% 0.1276 -0.1703)
OKLCHoklch(62.68% 0.213 306.9)
XYZxyz(35.0819, 21.7993, 80.1855)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AEA #9AEA5A
analogous
#625AEA #AA5AEA #EA5AE2
triadic
#AA5AEA #EAAA5A #5AEAAA
tetradic
#AA5AEA #EA625A #9AEA5A #5AE2EA
square
#AA5AEA #EA625A #9AEA5A #5AE2EA
split-complementary
#AA5AEA #E2EA5A #5AEA62
monochromatic
#6D17B3 #8E24E3 #AA5AEA #C690F1 #E2C7F8

Accessibility & contrast

On white

3.92
#AA5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AA5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AEA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AEA#FFFFFF#000000##000000
##AA5AEA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#017EEF
Deuteranopia (green-blind)
#3E81E7
Tritanopia (blue-blind)
#A0779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa5aea;
/* rgb */ color: rgb(170, 90, 234);
/* oklch */ color: oklch(62.7% 0.213 306.9);
Tailwind
colors: {
  custom: {
    50: '#c78df1',
    500: '#aa5aea',
    950: '#000000',
  },
}
SCSS
$custom: #aa5aea;
$custom-light: #c78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5aea",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 273.333,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.21279,
    "h": 306.9
  },
  "luminance": 0.21799
}

Semantic roles & 50–950 ramp

primary
#AA5AEA
secondary
#CDE9B6
accent
#DA0C67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AA5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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