#A87EA7#A87EA7

#A87EA7 is a light, moderate purple. Relative luminance 0.260; OKLCH L 64.8% C 0.077 H 327.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A87EA7
RGBrgb(168, 126, 167)
HSLhsl(301, 19%, 58%)
HSVhsv(301, 25%, 66%)
CMYKcmyk(0%, 25%, 0.6%, 34.1%)
CIE-LABlab(58.07, 23.35, -15.49)
CIE-LCHlch(58.07, 28.02, 326.44°)
OKLaboklab(64.77% 0.0647 -0.0417)
OKLCHoklch(64.77% 0.077 327.2)
XYZxyz(30.5836, 26.0375, 39.9664)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EA7 #7EA87F
analogous
#947EA8 #A87EA7 #A87E92
triadic
#A87EA7 #A7A87E #7EA7A8
tetradic
#A87EA7 #A8947E #7EA87F #7E92A8
square
#A87EA7 #A8947E #7EA87F #7E92A8
split-complementary
#A87EA7 #92A87E #7EA894
monochromatic
#664566 #8B5E8A #A87EA7 #C1A3C0 #D9C7D9

Accessibility & contrast

On white

3.38
#A87EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A87EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EA7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EA7#FFFFFF#000000##000000
##A87EA71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A9
Deuteranopia (green-blind)
#858DA5
Tritanopia (blue-blind)
#AB818C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a87ea7;
/* rgb */ color: rgb(168, 126, 167);
/* oklch */ color: oklch(64.8% 0.077 327.2);
Tailwind
colors: {
  custom: {
    50: '#c2a3c1',
    500: '#a87ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a87ea7;
$custom-light: #c2a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ea7",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 301.429,
    "s": 19.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.07697,
    "h": 327.2
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#A87EA7
secondary
#B8C9B9
accent
#BC6E6C
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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