#AA87DD#AA87DD

#AA87DD is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.0% C 0.128 H 301.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AA87DD
RGBrgb(170, 135, 221)
HSLhsl(264, 56%, 70%)
HSVhsv(264, 39%, 87%)
CMYKcmyk(23.1%, 38.9%, 0%, 13.3%)
CIE-LABlab(62.59, 30.54, -39.05)
CIE-LCHlch(62.59, 49.57, 308.03°)
OKLaboklab(68.97% 0.0676 -0.1086)
OKLCHoklch(68.97% 0.128 301.9)
XYZxyz(38.2899, 31.0944, 72.3772)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87DD #BADD87
analogous
#878FDD #AA87DD #D587DD
triadic
#AA87DD #DDAA87 #87DDAA
tetradic
#AA87DD #DD878F #BADD87 #87DDD5
square
#AA87DD #DD878F #BADD87 #87DDD5
split-complementary
#AA87DD #DDD587 #8FDD87
monochromatic
#6934B6 #8857CF #AA87DD #CCB7EB #EEE6F8

Accessibility & contrast

On white

2.91
#AA87DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AA87DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA87DD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87DD#FFFFFF#000000##000000
##AA87DD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#7997DB
Tritanopia (blue-blind)
#A195A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa87dd;
/* rgb */ color: rgb(170, 135, 221);
/* oklch */ color: oklch(69.0% 0.128 301.9);
Tailwind
colors: {
  custom: {
    50: '#c5aae8',
    500: '#aa87dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa87dd;
$custom-light: #c5aae8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87dd",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 264.419,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.12792,
    "h": 301.9
  },
  "luminance": 0.31094
}

Semantic roles & 50–950 ramp

primary
#AA87DD
secondary
#E2ECD4
accent
#C32282
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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