#AA5CD8#AA5CD8

#AA5CD8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.191 H 311.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AA5CD8
RGBrgb(170, 92, 216)
HSLhsl(278, 61%, 60%)
HSVhsv(278, 57%, 85%)
CMYKcmyk(21.3%, 57.4%, 0%, 15.3%)
CIE-LABlab(53.12, 52.76, -51.20)
CIE-LCHlch(53.12, 73.51, 315.86°)
OKLaboklab(61.83% 0.1253 -0.1438)
OKLCHoklch(61.83% 0.191 311.1)
XYZxyz(32.7971, 21.1589, 67.3088)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5CD8 #8AD85C
analogous
#6C5CD8 #AA5CD8 #D85CC8
triadic
#AA5CD8 #D8AA5C #5CD8AA
tetradic
#AA5CD8 #D86C5C #8AD85C #5CC8D8
square
#AA5CD8 #D86C5C #8AD85C #5CC8D8
split-complementary
#AA5CD8 #C8D85C #5CD86C
monochromatic
#6C2496 #8F30C7 #AA5CD8 #C48DE4 #DEBFF0

Accessibility & contrast

On white

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

On black

5.23
#AA5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5CD8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5CD8#FFFFFF#000000##000000
##AA5CD81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDC
Deuteranopia (green-blind)
#5180D5
Tritanopia (blue-blind)
#A47291
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5cd8;
/* rgb */ color: rgb(170, 92, 216);
/* oklch */ color: oklch(61.8% 0.191 311.1);
Tailwind
colors: {
  custom: {
    50: '#c68ee5',
    500: '#aa5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #aa5cd8;
$custom-light: #c68ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5cd8",
  "rgb": {
    "r": 170,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 277.742,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.19071,
    "h": 311.1
  },
  "luminance": 0.21158
}

Semantic roles & 50–950 ramp

primary
#AA5CD8
secondary
#C2E0B0
accent
#C91C5C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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