#AA5CD6#AA5CD6

#AA5CD6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.189 H 311.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD6
RGBrgb(170, 92, 214)
HSLhsl(278, 60%, 60%)
HSVhsv(278, 57%, 84%)
CMYKcmyk(20.6%, 57%, 0%, 16.1%)
CIE-LABlab(53.01, 52.32, -50.24)
CIE-LCHlch(53.01, 72.54, 316.16°)
OKLaboklab(61.71% 0.1253 -0.141)
OKLCHoklch(61.71% 0.189 311.6)
XYZxyz(32.5401, 21.0561, 65.9554)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD6 #88D65C
analogous
#6D5CD6 #AA5CD6 #D65CC5
triadic
#AA5CD6 #D6AA5C #5CD6AA
tetradic
#AA5CD6 #D66D5C #88D65C #5CC5D6
square
#AA5CD6 #D66D5C #88D65C #5CC5D6
split-complementary
#AA5CD6 #C5D65C #5CD66D
monochromatic
#6B2593 #8F31C4 #AA5CD6 #C48DE2 #DDBEEF

Accessibility & contrast

On white

4.03
#AA5CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA5CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD6#FFFFFF#000000##000000
##AA5CD61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDA
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#A57290
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cd6;
/* rgb */ color: rgb(170, 92, 214);
/* oklch */ color: oklch(61.7% 0.189 311.6);
Tailwind
colors: {
  custom: {
    50: '#c68de3',
    500: '#aa5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd6;
$custom-light: #c68de3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd6",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 278.361,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.18858,
    "h": 311.6
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#AA5CD6
secondary
#C0DEAF
accent
#E3457E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AA5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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