#AA5AFD#AA5AFD

#AA5AFD is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.9% C 0.233 H 302.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AA5AFD
RGBrgb(170, 90, 253)
HSLhsl(269, 98%, 67%)
HSVhsv(269, 64%, 99%)
CMYKcmyk(32.8%, 64.4%, 0%, 0.8%)
CIE-LABlab(55.02, 62.09, -68.89)
CIE-LCHlch(55.02, 92.74, 312.03°)
OKLaboklab(63.93% 0.1264 -0.1957)
OKLCHoklch(63.93% 0.233 302.9)
XYZxyz(37.9592, 22.9502, 95.3395)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5AFD #ADFD5A
analogous
#5A5BFD #AA5AFD #FC5AFD
triadic
#AA5AFD #FDAA5A #5AFDAA
tetradic
#AA5AFD #FD5A5B #ADFD5A #5AFDFC
square
#AA5AFD #FD5A5B #ADFD5A #5AFDFC
split-complementary
#AA5AFD #FDFC5A #5BFD5A
monochromatic
#6C03DA #8B1EFC #AA5AFD #C996FE #E8D3FE

Accessibility & contrast

On white

3.76
#AA5AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AA5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5AFD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5AFD#FFFFFF#000000##000000
##AA5AFD1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#1C83F9
Tritanopia (blue-blind)
#9A7EA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #aa5afd;
/* rgb */ color: rgb(170, 90, 253);
/* oklch */ color: oklch(63.9% 0.233 302.9);
Tailwind
colors: {
  custom: {
    50: '#c98dff',
    500: '#aa5afd',
    950: '#000000',
  },
}
SCSS
$custom: #aa5afd;
$custom-light: #c98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5afd",
  "rgb": {
    "r": 170,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 269.448,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.23293,
    "h": 302.9
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#AA5AFD
secondary
#DAF3C0
accent
#E60075
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D18
muted
#827D86

Preview Lab

Preview with #AA5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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