#AA87CD#AA87CD

#AA87CD is a light, moderate violet. Relative luminance 0.303; OKLCH L 68.2% C 0.107 H 306.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AA87CD
RGBrgb(170, 135, 205)
HSLhsl(270, 41%, 67%)
HSVhsv(270, 34%, 80%)
CMYKcmyk(17.1%, 34.1%, 0%, 19.6%)
CIE-LABlab(61.90, 26.87, -31.18)
CIE-LCHlch(61.90, 41.16, 310.75°)
OKLaboklab(68.22% 0.064 -0.086)
OKLCHoklch(68.22% 0.107 306.7)
XYZxyz(36.2589, 30.2820, 61.6806)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87CD #AACD87
analogous
#8787CD #AA87CD #CD87CD
triadic
#AA87CD #CDAA87 #87CDAA
tetradic
#AA87CD #CD8787 #AACD87 #87CDCD
square
#AA87CD #CD8787 #AACD87 #87CDCD
split-complementary
#AA87CD #CDCD87 #87CD87
monochromatic
#6D409A #8B5CBB #AA87CD #C9B2DF #E7DDF1

Accessibility & contrast

On white

2.98
#AA87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AA87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA87CD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87CD#FFFFFF#000000##000000
##AA87CD1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8096CB
Tritanopia (blue-blind)
#A591A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa87cd;
/* rgb */ color: rgb(170, 135, 205);
/* oklch */ color: oklch(68.2% 0.107 306.7);
Tailwind
colors: {
  custom: {
    50: '#c4aadc',
    500: '#aa87cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa87cd;
$custom-light: #c4aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87cd",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.10722,
    "h": 306.7
  },
  "luminance": 0.30282
}

Semantic roles & 50–950 ramp

primary
#AA87CD
secondary
#D8E3CD
accent
#B43173
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AA87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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