#AA5ED9#AA5ED9

#AA5ED9 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.189 H 310.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AA5ED9
RGBrgb(170, 94, 217)
HSLhsl(277, 62%, 61%)
HSVhsv(277, 57%, 85%)
CMYKcmyk(21.7%, 56.7%, 0%, 14.9%)
CIE-LABlab(53.56, 51.96, -51.07)
CIE-LCHlch(53.56, 72.85, 315.50°)
OKLaboklab(62.17% 0.1228 -0.1434)
OKLCHoklch(62.17% 0.189 310.6)
XYZxyz(33.1023, 21.5619, 68.0502)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ED9 #8DD95E
analogous
#6C5ED9 #AA5ED9 #D95ECA
triadic
#AA5ED9 #D9AA5E #5ED9AA
tetradic
#AA5ED9 #D96C5E #8DD95E #5ECAD9
square
#AA5ED9 #D96C5E #8DD95E #5ECAD9
split-complementary
#AA5ED9 #CAD95E #5ED96C
monochromatic
#6C2499 #8F30CA #AA5ED9 #C490E5 #DEC1F0

Accessibility & contrast

On white

3.95
#AA5ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5ED9#FFFFFF#000000##000000
##AA5ED91.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDD
Deuteranopia (green-blind)
#5381D6
Tritanopia (blue-blind)
#A47493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa5ed9;
/* rgb */ color: rgb(170, 94, 217);
/* oklch */ color: oklch(62.2% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#c68fe5',
    500: '#aa5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ed9;
$custom-light: #c68fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ed9",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 277.073,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.18881,
    "h": 310.6
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#AA5ED9
secondary
#C4E1B2
accent
#CA1C5E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #AA5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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