#AA5FD5#AA5FD5

#AA5FD5 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.183 H 311.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AA5FD5
RGBrgb(170, 95, 213)
HSLhsl(278, 58%, 60%)
HSVhsv(278, 55%, 84%)
CMYKcmyk(20.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(53.53, 50.57, -48.84)
CIE-LCHlch(53.53, 70.31, 316.00°)
OKLaboklab(62.08% 0.1214 -0.1369)
OKLCHoklch(62.08% 0.183 311.6)
XYZxyz(32.6778, 21.5353, 65.3732)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5FD5 #8AD55F
analogous
#6F5FD5 #AA5FD5 #D55FC5
triadic
#AA5FD5 #D5AA5F #5FD5AA
tetradic
#AA5FD5 #D56F5F #8AD55F #5FC5D5
square
#AA5FD5 #D56F5F #8AD55F #5FC5D5
split-complementary
#AA5FD5 #C5D55F #5FD56F
monochromatic
#6C2793 #8F33C3 #AA5FD5 #C48FE2 #DEC0EE

Accessibility & contrast

On white

3.96
#AA5FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AA5FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5FD5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5FD5#FFFFFF#000000##000000
##AA5FD51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#5781D2
Tritanopia (blue-blind)
#A57491
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5fd5;
/* rgb */ color: rgb(170, 95, 213);
/* oklch */ color: oklch(62.1% 0.183 311.6);
Tailwind
colors: {
  custom: {
    50: '#c68fe2',
    500: '#aa5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5fd5;
$custom-light: #c68fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5fd5",
  "rgb": {
    "r": 170,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 278.136,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.18295,
    "h": 311.6
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

primary
#AA5FD5
secondary
#C2DEB1
accent
#C61F5C
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AA5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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