#AA5CD5#AA5CD5

#AA5CD5 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.7% C 0.188 H 311.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD5
RGBrgb(170, 92, 213)
HSLhsl(279, 59%, 60%)
HSVhsv(279, 57%, 84%)
CMYKcmyk(20.2%, 56.8%, 0%, 16.5%)
CIE-LABlab(52.96, 52.10, -49.76)
CIE-LCHlch(52.96, 72.05, 316.32°)
OKLaboklab(61.66% 0.1252 -0.1396)
OKLCHoklch(61.66% 0.188 311.9)
XYZxyz(32.4128, 21.0052, 65.2848)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD5 #87D55C
analogous
#6E5CD5 #AA5CD5 #D55CC3
triadic
#AA5CD5 #D5AA5C #5CD5AA
tetradic
#AA5CD5 #D56E5C #87D55C #5CC3D5
square
#AA5CD5 #D56E5C #87D55C #5CC3D5
split-complementary
#AA5CD5 #C3D55C #5CD56E
monochromatic
#6B2591 #8F32C2 #AA5CD5 #C38DE2 #DDBDEE

Accessibility & contrast

On white

4.04
#AA5CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AA5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD5#FFFFFF#000000##000000
##AA5CD51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD9
Deuteranopia (green-blind)
#5480D2
Tritanopia (blue-blind)
#A57190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5cd5;
/* rgb */ color: rgb(170, 92, 213);
/* oklch */ color: oklch(61.7% 0.188 311.9);
Tailwind
colors: {
  custom: {
    50: '#c68de2',
    500: '#aa5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd5;
$custom-light: #c68de2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd5",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 278.678,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.18752,
    "h": 311.9
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#AA5CD5
secondary
#C0DEAF
accent
#E2467D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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