#A87CA2#A87CA2

#A87CA2 is a light, moderate purple. Relative luminance 0.253; OKLCH L 64.2% C 0.076 H 331.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A87CA2
RGBrgb(168, 124, 162)
HSLhsl(308, 20%, 57%)
HSVhsv(308, 26%, 66%)
CMYKcmyk(0%, 26.2%, 3.6%, 34.1%)
CIE-LABlab(57.41, 23.52, -13.61)
CIE-LCHlch(57.41, 27.18, 329.95°)
OKLaboklab(64.21% 0.0663 -0.0365)
OKLCHoklch(64.21% 0.076 331.2)
XYZxyz(29.8772, 25.3498, 37.4946)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CA2 #7CA882
analogous
#987CA8 #A87CA2 #A87C8C
triadic
#A87CA2 #A2A87C #7CA2A8
tetradic
#A87CA2 #A8987C #7CA882 #7C8CA8
square
#A87CA2 #A8987C #7CA882 #7C8CA8
split-complementary
#A87CA2 #8CA87C #7CA898
monochromatic
#664461 #8B5C84 #A87CA2 #C0A1BC #D9C6D6

Accessibility & contrast

On white

3.46
#A87CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A87CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CA2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CA2#FFFFFF#000000##000000
##A87CA21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A4
Deuteranopia (green-blind)
#858CA1
Tritanopia (blue-blind)
#AC7E89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a87ca2;
/* rgb */ color: rgb(168, 124, 162);
/* oklch */ color: oklch(64.2% 0.076 331.2);
Tailwind
colors: {
  custom: {
    50: '#c2a2bd',
    500: '#a87ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a87ca2;
$custom-light: #c2a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ca2",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 308.182,
    "s": 20.183,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64208,
    "c": 0.07563,
    "h": 331.2
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#A87CA2
secondary
#B7C9B9
accent
#BD766B
background
#FCFAFB
surface
#F8F3F6
border
#D1CDD0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A87CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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