#AA5FE9#AA5FE9

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

Color values

HEX#AA5FE9
RGBrgb(170, 95, 233)
HSLhsl(273, 76%, 64%)
HSVhsv(273, 59%, 91%)
CMYKcmyk(27%, 59.2%, 0%, 8.6%)
CIE-LABlab(54.67, 55.03, -58.30)
CIE-LCHlch(54.67, 80.17, 313.35°)
OKLaboklab(63.28% 0.1218 -0.1646)
OKLCHoklch(63.28% 0.205 306.5)
XYZxyz(35.3747, 22.6140, 79.5764)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FE9 #9EE95F
analogous
#655FE9 #AA5FE9 #E95FE3
triadic
#AA5FE9 #E9AA5F #5FE9AA
tetradic
#AA5FE9 #E9655F #9EE95F #5FE3E9
square
#AA5FE9 #E9655F #9EE95F #5FE3E9
split-complementary
#AA5FE9 #E3E95F #5FE965
monochromatic
#6E19B5 #8D29E2 #AA5FE9 #C795F0 #E3CBF8

Accessibility & contrast

On white

3.80
#AA5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FE9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FE9#FFFFFF#000000##000000
##AA5FE91.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080ED
Deuteranopia (green-blind)
#4683E6
Tritanopia (blue-blind)
#A07A9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa5fe9;
/* rgb */ color: rgb(170, 95, 233);
/* oklch */ color: oklch(63.3% 0.205 306.5);
Tailwind
colors: {
  custom: {
    50: '#c790f1',
    500: '#aa5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fe9;
$custom-light: #c790f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fe9",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 272.609,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6328,
    "c": 0.20473,
    "h": 306.5
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#AA5FE9
secondary
#D0EABA
accent
#D80D6A
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AA5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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