#AA5DF9#AA5DF9

#AA5DF9 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.225 H 303.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AA5DF9
RGBrgb(170, 93, 249)
HSLhsl(270, 93%, 67%)
HSVhsv(270, 63%, 98%)
CMYKcmyk(31.7%, 62.7%, 0%, 2.4%)
CIE-LABlab(55.29, 59.71, -66.23)
CIE-LCHlch(55.29, 89.17, 312.04°)
OKLaboklab(64.05% 0.1234 -0.1879)
OKLCHoklch(64.05% 0.225 303.3)
XYZxyz(37.5869, 23.2143, 92.1048)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DF9 #ACF95D
analogous
#5D5EF9 #AA5DF9 #F85DF9
triadic
#AA5DF9 #F9AA5D #5DF9AA
tetradic
#AA5DF9 #F95D5E #ACF95D #5DF9F8
square
#AA5DF9 #F95D5E #ACF95D #5DF9F8
split-complementary
#AA5DF9 #F9F85D #5EF95D
monochromatic
#6C08D4 #8B22F7 #AA5DF9 #C998FB #E8D3FD

Accessibility & contrast

On white

3.72
#AA5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#AA5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DF9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DF9#FFFFFF#000000##000000
##AA5DF91.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#2D84F6
Tritanopia (blue-blind)
#9B7EA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5df9;
/* rgb */ color: rgb(170, 93, 249);
/* oklch */ color: oklch(64.0% 0.225 303.3);
Tailwind
colors: {
  custom: {
    50: '#c88ffc',
    500: '#aa5df9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5df9;
$custom-light: #c88ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5df9",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 269.615,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.22478,
    "h": 303.3
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#AA5DF9
secondary
#D9F2C0
accent
#E60074
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AA5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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