#AA5DD6#AA5DD6

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

Color values

HEX#AA5DD6
RGBrgb(170, 93, 214)
HSLhsl(278, 60%, 60%)
HSVhsv(278, 57%, 84%)
CMYKcmyk(20.6%, 56.5%, 0%, 16.1%)
CIE-LABlab(53.20, 51.81, -49.94)
CIE-LCHlch(53.20, 71.96, 316.06°)
OKLaboklab(61.85% 0.124 -0.1401)
OKLCHoklch(61.85% 0.187 311.5)
XYZxyz(32.6273, 21.2305, 65.9844)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DD6 #89D65D
analogous
#6E5DD6 #AA5DD6 #D65DC5
triadic
#AA5DD6 #D6AA5D #5DD6AA
tetradic
#AA5DD6 #D66E5D #89D65D #5DC5D6
square
#AA5DD6 #D66E5D #89D65D #5DC5D6
split-complementary
#AA5DD6 #C5D65D #5DD66E
monochromatic
#6B2593 #8F32C4 #AA5DD6 #C48EE2 #DDBFEF

Accessibility & contrast

On white

4.00
#AA5DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AA5DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DD6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DD6#FFFFFF#000000##000000
##AA5DD61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#A57291
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa5dd6;
/* rgb */ color: rgb(170, 93, 214);
/* oklch */ color: oklch(61.9% 0.187 311.5);
Tailwind
colors: {
  custom: {
    50: '#c68ee3',
    500: '#aa5dd6',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dd6;
$custom-light: #c68ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dd6",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 214
  },
  "hsl": {
    "h": 278.182,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.18708,
    "h": 311.5
  },
  "luminance": 0.2123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA5DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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