#AA5EEB#AA5EEB

#AA5EEB is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.3% C 0.208 H 306.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AA5EEB
RGBrgb(170, 94, 235)
HSLhsl(272, 78%, 65%)
HSVhsv(272, 60%, 92%)
CMYKcmyk(27.7%, 60%, 0%, 7.8%)
CIE-LABlab(54.61, 55.99, -59.53)
CIE-LCHlch(54.61, 81.72, 313.25°)
OKLaboklab(63.27% 0.1229 -0.1682)
OKLCHoklch(63.27% 0.208 306.2)
XYZxyz(35.5725, 22.5499, 81.0597)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5EEB #9FEB5E
analogous
#635EEB #AA5EEB #EB5EE6
triadic
#AA5EEB #EBAA5E #5EEBAA
tetradic
#AA5EEB #EB635E #9FEB5E #5EE6EB
square
#AA5EEB #EB635E #9FEB5E #5EE6EB
split-complementary
#AA5EEB #E6EB5E #5EEB63
monochromatic
#6E17B8 #8D28E4 #AA5EEB #C794F2 #E3CBF9

Accessibility & contrast

On white

3.81
#AA5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AA5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5EEB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5EEB#FFFFFF#000000##000000
##AA5EEB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EF
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#9F7A9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5eeb;
/* rgb */ color: rgb(170, 94, 235);
/* oklch */ color: oklch(63.3% 0.208 306.2);
Tailwind
colors: {
  custom: {
    50: '#c78ff2',
    500: '#aa5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa5eeb;
$custom-light: #c78ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5eeb",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 272.34,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63269,
    "c": 0.20831,
    "h": 306.2
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#AA5EEB
secondary
#D1EBBA
accent
#DA0B6B
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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