#AA5DD2#AA5DD2

#AA5DD2 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.183 H 312.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AA5DD2
RGBrgb(170, 93, 210)
HSLhsl(279, 57%, 59%)
HSVhsv(279, 56%, 82%)
CMYKcmyk(19%, 55.7%, 0%, 17.6%)
CIE-LABlab(52.98, 50.95, -48.01)
CIE-LCHlch(52.98, 70.01, 316.70°)
OKLaboklab(61.62% 0.1238 -0.1345)
OKLCHoklch(61.62% 0.183 312.6)
XYZxyz(32.1228, 21.0287, 63.3270)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5DD2 #85D25D
analogous
#705DD2 #AA5DD2 #D25DC0
triadic
#AA5DD2 #D2AA5D #5DD2AA
tetradic
#AA5DD2 #D2705D #85D25D #5DC0D2
square
#AA5DD2 #D2705D #85D25D #5DC0D2
split-complementary
#AA5DD2 #C0D25D #5DD270
monochromatic
#6A278D #8F35BD #AA5DD2 #C38DDF #DCBDED

Accessibility & contrast

On white

4.03
#AA5DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA5DD2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5DD2#FFFFFF#000000##000000
##AA5DD21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#A6718F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa5dd2;
/* rgb */ color: rgb(170, 93, 210);
/* oklch */ color: oklch(61.6% 0.183 312.6);
Tailwind
colors: {
  custom: {
    50: '#c68ee0',
    500: '#aa5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa5dd2;
$custom-light: #c68ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5dd2",
  "rgb": {
    "r": 170,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 279.487,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.18279,
    "h": 312.6
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#AA5DD2
secondary
#BEDCAF
accent
#E0487C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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