#AA5ED2#AA5ED2

#AA5ED2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.181 H 312.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AA5ED2
RGBrgb(170, 94, 210)
HSLhsl(279, 56%, 60%)
HSVhsv(279, 55%, 82%)
CMYKcmyk(19%, 55.2%, 0%, 17.6%)
CIE-LABlab(53.17, 50.44, -47.71)
CIE-LCHlch(53.17, 69.42, 316.59°)
OKLaboklab(61.76% 0.1225 -0.1336)
OKLCHoklch(61.76% 0.181 312.5)
XYZxyz(32.2111, 21.2054, 63.3565)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5ED2 #86D25E
analogous
#705ED2 #AA5ED2 #D25EC0
triadic
#AA5ED2 #D2AA5E #5ED2AA
tetradic
#AA5ED2 #D2705E #86D25E #5EC0D2
square
#AA5ED2 #D2705E #86D25E #5EC0D2
split-complementary
#AA5ED2 #C0D25E #5ED270
monochromatic
#6B288E #8F35BE #AA5ED2 #C38EDF #DDBEED

Accessibility & contrast

On white

4.01
#AA5ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AA5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5ED2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5ED2#FFFFFF#000000##000000
##AA5ED21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#A6728F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5ed2;
/* rgb */ color: rgb(170, 94, 210);
/* oklch */ color: oklch(61.8% 0.181 312.5);
Tailwind
colors: {
  custom: {
    50: '#c68fe0',
    500: '#aa5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5ed2;
$custom-light: #c68fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5ed2",
  "rgb": {
    "r": 170,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 279.31,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.18125,
    "h": 312.5
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#AA5ED2
secondary
#BFDCAF
accent
#E0487C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #AA5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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