#AA5FD9#AA5FD9

#AA5FD9 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.187 H 310.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AA5FD9
RGBrgb(170, 95, 217)
HSLhsl(277, 62%, 61%)
HSVhsv(277, 56%, 85%)
CMYKcmyk(21.7%, 56.2%, 0%, 14.9%)
CIE-LABlab(53.75, 51.45, -50.76)
CIE-LCHlch(53.75, 72.28, 315.39°)
OKLaboklab(62.31% 0.1215 -0.1425)
OKLCHoklch(62.31% 0.187 310.5)
XYZxyz(33.1918, 21.7409, 68.0801)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FD9 #8ED95F
analogous
#6D5FD9 #AA5FD9 #D95FCB
triadic
#AA5FD9 #D9AA5F #5FD9AA
tetradic
#AA5FD9 #D96D5F #8ED95F #5FCBD9
square
#AA5FD9 #D96D5F #8ED95F #5FCBD9
split-complementary
#AA5FD9 #CBD95F #5FD96D
monochromatic
#6C2499 #8F30CB #AA5FD9 #C490E5 #DFC2F0

Accessibility & contrast

On white

3.93
#AA5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AA5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FD9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FD9#FFFFFF#000000##000000
##AA5FD91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#5482D6
Tritanopia (blue-blind)
#A47593
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5fd9;
/* rgb */ color: rgb(170, 95, 217);
/* oklch */ color: oklch(62.3% 0.187 310.5);
Tailwind
colors: {
  custom: {
    50: '#c68fe5',
    500: '#aa5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fd9;
$custom-light: #c68fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fd9",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 276.885,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.1873,
    "h": 310.5
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#AA5FD9
secondary
#C5E1B3
accent
#C91C5F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AA5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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