#AA5FE8#AA5FE8

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

Color values

HEX#AA5FE8
RGBrgb(170, 95, 232)
HSLhsl(273, 75%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(26.7%, 59.1%, 0%, 9%)
CIE-LABlab(54.61, 54.81, -57.84)
CIE-LCHlch(54.61, 79.68, 313.46°)
OKLaboklab(63.22% 0.1218 -0.1632)
OKLCHoklch(63.22% 0.204 306.7)
XYZxyz(35.2322, 22.5570, 78.8262)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE8 #9DE85F
analogous
#665FE8 #AA5FE8 #E85FE1
triadic
#AA5FE8 #E8AA5F #5FE8AA
tetradic
#AA5FE8 #E8665F #9DE85F #5FE1E8
square
#AA5FE8 #E8665F #9DE85F #5FE1E8
split-complementary
#AA5FE8 #E1E85F #5FE866
monochromatic
#6E1AB3 #8E29E0 #AA5FE8 #C695F0 #E3CAF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5FE8#FFFFFF#000000##000000
##AA5FE81.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)
#2280EC
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#A07A9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5fe8;
/* rgb */ color: rgb(170, 95, 232);
/* oklch */ color: oklch(63.2% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#c790f0',
    500: '#aa5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe8;
$custom-light: #c790f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe8",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 272.847,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.20363,
    "h": 306.7
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#AA5FE8
secondary
#CFE9BA
accent
#D70E69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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