#AA5CD4#AA5CD4

#AA5CD4 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.186 H 312.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD4
RGBrgb(170, 92, 212)
HSLhsl(279, 58%, 60%)
HSVhsv(279, 57%, 83%)
CMYKcmyk(19.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(52.90, 51.89, -49.28)
CIE-LCHlch(52.90, 71.56, 316.48°)
OKLaboklab(61.6% 0.1252 -0.1382)
OKLCHoklch(61.6% 0.186 312.2)
XYZxyz(32.2863, 20.9546, 64.6184)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD4 #86D45C
analogous
#6E5CD4 #AA5CD4 #D45CC2
triadic
#AA5CD4 #D4AA5C #5CD4AA
tetradic
#AA5CD4 #D46E5C #86D45C #5CC2D4
square
#AA5CD4 #D46E5C #86D45C #5CC2D4
split-complementary
#AA5CD4 #C2D45C #5CD46E
monochromatic
#6B2690 #8F33C0 #AA5CD4 #C38CE1 #DDBDEE

Accessibility & contrast

On white

4.05
#AA5CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AA5CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD4#FFFFFF#000000##000000
##AA5CD41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#A5718F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5cd4;
/* rgb */ color: rgb(170, 92, 212);
/* oklch */ color: oklch(61.6% 0.186 312.2);
Tailwind
colors: {
  custom: {
    50: '#c68de2',
    500: '#aa5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd4;
$custom-light: #c68de2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd4",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 279,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61596,
    "c": 0.18644,
    "h": 312.2
  },
  "luminance": 0.20954
}

Semantic roles & 50–950 ramp

primary
#AA5CD4
secondary
#BFDDAF
accent
#E1467D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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