#AA87BD#AA87BD

#AA87BD is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.5% C 0.087 H 313.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AA87BD
RGBrgb(170, 135, 189)
HSLhsl(279, 29%, 64%)
HSVhsv(279, 29%, 74%)
CMYKcmyk(10.1%, 28.6%, 0%, 25.9%)
CIE-LABlab(61.26, 23.38, -23.14)
CIE-LCHlch(61.26, 32.90, 315.29°)
OKLaboklab(67.52% 0.0598 -0.0632)
OKLCHoklch(67.52% 0.087 313.4)
XYZxyz(34.4254, 29.5486, 52.0242)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87BD #9ABD87
analogous
#8F87BD #AA87BD #BD87B5
triadic
#AA87BD #BDAA87 #87BDAA
tetradic
#AA87BD #BD8F87 #9ABD87 #87B5BD
square
#AA87BD #BD8F87 #9ABD87 #87B5BD
split-complementary
#AA87BD #B5BD87 #87BD8F
monochromatic
#6D4882 #8E60A7 #AA87BD #C6AED3 #E2D6E8

Accessibility & contrast

On white

3.04
#AA87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AA87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87BD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87BD#FFFFFF#000000##000000
##AA87BD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#8695BB
Tritanopia (blue-blind)
#A98E9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa87bd;
/* rgb */ color: rgb(170, 135, 189);
/* oklch */ color: oklch(67.5% 0.087 313.4);
Tailwind
colors: {
  custom: {
    50: '#c4aad1',
    500: '#aa87bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa87bd;
$custom-light: #c4aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87bd",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 278.889,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67523,
    "c": 0.08697,
    "h": 313.4
  },
  "luminance": 0.29548
}

Semantic roles & 50–950 ramp

primary
#AA87BD
secondary
#CDD9C6
accent
#A83E63
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AA87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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