#AA5CD7#AA5CD7

#AA5CD7 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.8% C 0.190 H 311.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD7
RGBrgb(170, 92, 215)
HSLhsl(278, 61%, 60%)
HSVhsv(278, 57%, 84%)
CMYKcmyk(20.9%, 57.2%, 0%, 15.7%)
CIE-LABlab(53.07, 52.54, -50.72)
CIE-LCHlch(53.07, 73.02, 316.01°)
OKLaboklab(61.77% 0.1253 -0.1424)
OKLCHoklch(61.77% 0.19 311.4)
XYZxyz(32.6682, 21.1074, 66.6300)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD7 #89D75C
analogous
#6D5CD7 #AA5CD7 #D75CC6
triadic
#AA5CD7 #D7AA5C #5CD7AA
tetradic
#AA5CD7 #D76D5C #89D75C #5CC6D7
square
#AA5CD7 #D76D5C #89D75C #5CC6D7
split-complementary
#AA5CD7 #C6D75C #5CD76D
monochromatic
#6B2494 #8F30C5 #AA5CD7 #C48DE3 #DDBEEF

Accessibility & contrast

On white

4.02
#AA5CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD7#FFFFFF#000000##000000
##AA5CD71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDB
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#A57291
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cd7;
/* rgb */ color: rgb(170, 92, 215);
/* oklch */ color: oklch(61.8% 0.190 311.4);
Tailwind
colors: {
  custom: {
    50: '#c68ee4',
    500: '#aa5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd7;
$custom-light: #c68ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd7",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 278.049,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.18966,
    "h": 311.4
  },
  "luminance": 0.21107
}

Semantic roles & 50–950 ramp

primary
#AA5CD7
secondary
#C1DFB0
accent
#C81D5C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #AA5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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