#A87EA2#A87EA2

#A87EA2 is a light, moderate purple. Relative luminance 0.259; OKLCH L 64.6% C 0.072 H 331.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A87EA2
RGBrgb(168, 126, 162)
HSLhsl(309, 19%, 58%)
HSVhsv(309, 25%, 66%)
CMYKcmyk(0%, 25%, 3.6%, 34.1%)
CIE-LABlab(57.90, 22.39, -12.88)
CIE-LCHlch(57.90, 25.83, 330.10°)
OKLaboklab(64.58% 0.0631 -0.0345)
OKLCHoklch(64.58% 0.072 331.3)
XYZxyz(30.1303, 25.8561, 37.5790)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EA2 #7EA884
analogous
#997EA8 #A87EA2 #A87E8D
triadic
#A87EA2 #A2A87E #7EA2A8
tetradic
#A87EA2 #A8997E #7EA884 #7E8DA8
square
#A87EA2 #A8997E #7EA884 #7E8DA8
split-complementary
#A87EA2 #8DA87E #7EA899
monochromatic
#664562 #8B5E85 #A87EA2 #C1A3BC #D9C7D7

Accessibility & contrast

On white

3.40
#A87EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A87EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EA2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EA2#FFFFFF#000000##000000
##A87EA21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D88A3
Deuteranopia (green-blind)
#878DA1
Tritanopia (blue-blind)
#AC808A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87ea2;
/* rgb */ color: rgb(168, 126, 162);
/* oklch */ color: oklch(64.6% 0.072 331.3);
Tailwind
colors: {
  custom: {
    50: '#c2a3bd',
    500: '#a87ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a87ea2;
$custom-light: #c2a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ea2",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 308.571,
    "s": 19.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6458,
    "c": 0.07187,
    "h": 331.3
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#A87EA2
secondary
#B8C9BB
accent
#BC776C
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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