#A87F9D#A87F9D

#A87F9D is a light, moderate pink. Relative luminance 0.259; OKLCH L 64.6% C 0.065 H 336.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A87F9D
RGBrgb(168, 127, 157)
HSLhsl(316, 19%, 58%)
HSVhsv(316, 24%, 66%)
CMYKcmyk(0%, 24.4%, 6.5%, 34.1%)
CIE-LABlab(57.98, 20.89, -9.88)
CIE-LCHlch(57.98, 23.11, 334.69°)
OKLaboklab(64.59% 0.0598 -0.0263)
OKLCHoklch(64.59% 0.065 336.3)
XYZxyz(29.8232, 25.9389, 35.3275)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87F9D #7FA88A
analogous
#9F7FA8 #A87F9D #A87F88
triadic
#A87F9D #9DA87F #7F9DA8
tetradic
#A87F9D #A89F7F #7FA88A #7F88A8
square
#A87F9D #A89F7F #7FA88A #7F88A8
split-complementary
#A87F9D #88A87F #7FA89F
monochromatic
#67465E #8B5F7F #A87F9D #C1A3B9 #DAC8D5

Accessibility & contrast

On white

3.39
#A87F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A87F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87F9D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87F9D#FFFFFF#000000##000000
##A87F9D1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F889E
Deuteranopia (green-blind)
#898D9C
Tritanopia (blue-blind)
#AC8089
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87f9d;
/* rgb */ color: rgb(168, 127, 157);
/* oklch */ color: oklch(64.6% 0.065 336.3);
Tailwind
colors: {
  custom: {
    50: '#c2a4ba',
    500: '#a87f9d',
    950: '#000000',
  },
}
SCSS
$custom: #a87f9d;
$custom-light: #c2a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a87f9d",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 316.098,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64586,
    "c": 0.06528,
    "h": 336.3
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

primary
#A87F9D
secondary
#B9CABE
accent
#BC816C
background
#FBFAFB
surface
#F7F4F6
border
#D0CED0
text
#120F11
muted
#817F80

Preview Lab

Preview with #A87F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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