#AA5CD3#AA5CD3

#AA5CD3 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.185 H 312.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD3
RGBrgb(170, 92, 211)
HSLhsl(279, 57%, 59%)
HSVhsv(279, 56%, 83%)
CMYKcmyk(19.4%, 56.4%, 0%, 17.3%)
CIE-LABlab(52.84, 51.67, -48.80)
CIE-LCHlch(52.84, 71.07, 316.64°)
OKLaboklab(61.54% 0.1252 -0.1368)
OKLCHoklch(61.54% 0.185 312.5)
XYZxyz(32.1605, 20.9043, 63.9562)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD3 #85D35C
analogous
#6F5CD3 #AA5CD3 #D35CC0
triadic
#AA5CD3 #D3AA5C #5CD3AA
tetradic
#AA5CD3 #D36F5C #85D35C #5CC0D3
square
#AA5CD3 #D36F5C #85D35C #5CC0D3
split-complementary
#AA5CD3 #C0D35C #5CD36F
monochromatic
#6A268E #8F33BE #AA5CD3 #C38CE0 #DCBCED

Accessibility & contrast

On white

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

On black

5.18
#AA5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD3#FFFFFF#000000##000000
##AA5CD31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD7
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#A6718F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5cd3;
/* rgb */ color: rgb(170, 92, 211);
/* oklch */ color: oklch(61.5% 0.185 312.5);
Tailwind
colors: {
  custom: {
    50: '#c68de1',
    500: '#aa5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd3;
$custom-light: #c68de1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd3",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 279.328,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.18538,
    "h": 312.5
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#AA5CD3
secondary
#BEDDAE
accent
#E1477C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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