#A87FA2#A87FA2

#A87FA2 is a light, moderate purple. Relative luminance 0.261; OKLCH L 64.8% C 0.070 H 331.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A87FA2
RGBrgb(168, 127, 162)
HSLhsl(309, 19%, 58%)
HSVhsv(309, 24%, 66%)
CMYKcmyk(0%, 24.4%, 3.6%, 34.1%)
CIE-LABlab(58.14, 21.82, -12.51)
CIE-LCHlch(58.14, 25.15, 330.18°)
OKLaboklab(64.77% 0.0615 -0.0335)
OKLCHoklch(64.77% 0.07 331.4)
XYZxyz(30.2589, 26.1131, 37.6218)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FA2 #7FA885
analogous
#997FA8 #A87FA2 #A87F8D
triadic
#A87FA2 #A2A87F #7FA2A8
tetradic
#A87FA2 #A8997F #7FA885 #7F8DA8
square
#A87FA2 #A8997F #7FA885 #7F8DA8
split-complementary
#A87FA2 #8DA87F #7FA899
monochromatic
#674662 #8B5F85 #A87FA2 #C1A3BC #DAC8D7

Accessibility & contrast

On white

3.37
#A87FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A87FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FA2#FFFFFF#000000##000000
##A87FA21.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E88A3
Deuteranopia (green-blind)
#878EA1
Tritanopia (blue-blind)
#AC818B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a87fa2;
/* rgb */ color: rgb(168, 127, 162);
/* oklch */ color: oklch(64.8% 0.070 331.4);
Tailwind
colors: {
  custom: {
    50: '#c2a4bd',
    500: '#a87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a87fa2;
$custom-light: #c2a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fa2",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 308.78,
    "s": 19.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.06999,
    "h": 331.4
  },
  "luminance": 0.26112
}

Semantic roles & 50–950 ramp

primary
#A87FA2
secondary
#B9CABC
accent
#BC786C
background
#FBFAFB
surface
#F7F4F6
border
#D0CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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