#AA87BC#AA87BC

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

Color values

HEX#AA87BC
RGBrgb(170, 135, 188)
HSLhsl(280, 28%, 63%)
HSVhsv(280, 28%, 74%)
CMYKcmyk(9.6%, 28.2%, 0%, 26.3%)
CIE-LABlab(61.23, 23.17, -22.64)
CIE-LCHlch(61.23, 32.39, 315.67°)
OKLaboklab(67.48% 0.0595 -0.0617)
OKLCHoklch(67.48% 0.086 313.9)
XYZxyz(34.3172, 29.5053, 51.4545)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87BC #99BC87
analogous
#8F87BC #AA87BC #BC87B3
triadic
#AA87BC #BCAA87 #87BCAA
tetradic
#AA87BC #BC8F87 #99BC87 #87B3BC
square
#AA87BC #BC8F87 #99BC87 #87B3BC
split-complementary
#AA87BC #B3BC87 #87BC8F
monochromatic
#6D4881 #8E60A6 #AA87BC #C6AED2 #E2D6E8

Accessibility & contrast

On white

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

On black

6.90
#AA87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87BC#FFFFFF#000000##000000
##AA87BC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BE
Deuteranopia (green-blind)
#8795BA
Tritanopia (blue-blind)
#A98D9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa87bc;
/* rgb */ color: rgb(170, 135, 188);
/* oklch */ color: oklch(67.5% 0.086 313.9);
Tailwind
colors: {
  custom: {
    50: '#c4aad0',
    500: '#aa87bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa87bc;
$custom-light: #c4aad0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87bc",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 279.623,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.08573,
    "h": 313.9
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#AA87BC
secondary
#CCD9C6
accent
#A73F62
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AA87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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