#AA5DEA#AA5DEA

#AA5DEA is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.1% C 0.209 H 306.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AA5DEA
RGBrgb(170, 93, 234)
HSLhsl(273, 77%, 64%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(27.4%, 60.3%, 0%, 8.2%)
CIE-LABlab(54.36, 56.26, -59.36)
CIE-LCHlch(54.36, 81.79, 313.46°)
OKLaboklab(63.07% 0.1241 -0.1677)
OKLCHoklch(63.07% 0.209 306.5)
XYZxyz(35.3401, 22.3156, 80.2715)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DEA #9DEA5D
analogous
#645DEA #AA5DEA #EA5DE4
triadic
#AA5DEA #EAAA5D #5DEAAA
tetradic
#AA5DEA #EA645D #9DEA5D #5DE4EA
square
#AA5DEA #EA645D #9DEA5D #5DE4EA
split-complementary
#AA5DEA #E4EA5D #5DEA64
monochromatic
#6E17B5 #8E27E3 #AA5DEA #C693F1 #E3C9F8

Accessibility & contrast

On white

3.84
#AA5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AA5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DEA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DEA#FFFFFF#000000##000000
##AA5DEA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#167FEE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#A0799B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa5dea;
/* rgb */ color: rgb(170, 93, 234);
/* oklch */ color: oklch(63.1% 0.209 306.5);
Tailwind
colors: {
  custom: {
    50: '#c78ff1',
    500: '#aa5dea',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dea;
$custom-light: #c78ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dea",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 272.766,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63072,
    "c": 0.20864,
    "h": 306.5
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#AA5DEA
secondary
#CFEAB9
accent
#D90C69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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