#AA87BF#AA87BF

#AA87BF is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.6% C 0.089 H 312.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AA87BF
RGBrgb(170, 135, 191)
HSLhsl(278, 30%, 64%)
HSVhsv(278, 29%, 75%)
CMYKcmyk(11%, 29.3%, 0%, 25.1%)
CIE-LABlab(61.34, 23.81, -24.16)
CIE-LCHlch(61.34, 33.92, 314.58°)
OKLaboklab(67.61% 0.0604 -0.066)
OKLCHoklch(67.61% 0.089 312.4)
XYZxyz(34.6439, 29.6361, 53.1754)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87BF #9CBF87
analogous
#8E87BF #AA87BF #BF87B8
triadic
#AA87BF #BFAA87 #87BFAA
tetradic
#AA87BF #BF8E87 #9CBF87 #87B8BF
square
#AA87BF #BF8E87 #9CBF87 #87B8BF
split-complementary
#AA87BF #B8BF87 #87BF8E
monochromatic
#6E4785 #8E5FAA #AA87BF #C6AFD4 #E3D7EA

Accessibility & contrast

On white

3.03
#AA87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AA87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA87BF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87BF#FFFFFF#000000##000000
##AA87BF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#8695BD
Tritanopia (blue-blind)
#A88E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa87bf;
/* rgb */ color: rgb(170, 135, 191);
/* oklch */ color: oklch(67.6% 0.089 312.4);
Tailwind
colors: {
  custom: {
    50: '#c4aad2',
    500: '#aa87bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa87bf;
$custom-light: #c4aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87bf",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 277.5,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.08945,
    "h": 312.4
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

primary
#AA87BF
secondary
#CEDBC7
accent
#A93C65
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AA87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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