#AA5CD9#AA5CD9

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

Color values

HEX#AA5CD9
RGBrgb(170, 92, 217)
HSLhsl(277, 62%, 61%)
HSVhsv(277, 58%, 85%)
CMYKcmyk(21.7%, 57.6%, 0%, 14.9%)
CIE-LABlab(53.18, 52.97, -51.67)
CIE-LCHlch(53.18, 74.00, 315.71°)
OKLaboklab(61.89% 0.1254 -0.1452)
OKLCHoklch(61.89% 0.192 310.8)
XYZxyz(32.9268, 21.2108, 67.9917)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD9 #8BD95C
analogous
#6B5CD9 #AA5CD9 #D95CC9
triadic
#AA5CD9 #D9AA5C #5CD9AA
tetradic
#AA5CD9 #D96B5C #8BD95C #5CC9D9
square
#AA5CD9 #D96B5C #8BD95C #5CC9D9
split-complementary
#AA5CD9 #C9D95C #5CD96B
monochromatic
#6C2397 #8F2FC9 #AA5CD9 #C48EE5 #DEBFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA5CD9#FFFFFF#000000##000000
##AA5CD91.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)
#327BDD
Deuteranopia (green-blind)
#5180D6
Tritanopia (blue-blind)
#A47392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cd9;
/* rgb */ color: rgb(170, 92, 217);
/* oklch */ color: oklch(61.9% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#c68ee5',
    500: '#aa5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd9;
$custom-light: #c68ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd9",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 277.44,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.19179,
    "h": 310.8
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#AA5CD9
secondary
#C3E0B1
accent
#CA1C5D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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