#A87CB2#A87CB2

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

Color values

HEX#A87CB2
RGBrgb(168, 124, 178)
HSLhsl(289, 26%, 59%)
HSVhsv(289, 30%, 70%)
CMYKcmyk(5.6%, 30.3%, 0%, 30.2%)
CIE-LABlab(57.99, 26.67, -21.91)
CIE-LCHlch(57.99, 34.52, 320.60°)
OKLaboklab(64.84% 0.0711 -0.0596)
OKLCHoklch(64.84% 0.093 320)
XYZxyz(31.3909, 25.9553, 45.4671)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CB2 #86B27C
analogous
#8D7CB2 #A87CB2 #B27CA1
triadic
#A87CB2 #B2A87C #7CB2A8
tetradic
#A87CB2 #B28D7C #86B27C #7CA1B2
square
#A87CB2 #B28D7C #86B27C #7CA1B2
split-complementary
#A87CB2 #A1B27C #7CB28D
monochromatic
#684271 #8C5998 #A87CB2 #C2A3C9 #DBC9DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87CB2#FFFFFF#000000##000000
##A87CB21.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)
#7688B4
Deuteranopia (green-blind)
#808DB0
Tritanopia (blue-blind)
#A9828F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87cb2;
/* rgb */ color: rgb(168, 124, 178);
/* oklch */ color: oklch(64.8% 0.093 320.0);
Tailwind
colors: {
  custom: {
    50: '#c2a2c9',
    500: '#a87cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a87cb2;
$custom-light: #c2a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cb2",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 288.889,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.09283,
    "h": 320
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#A87CB2
secondary
#BECFBA
accent
#C26577
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#120F13
muted
#817F82

Preview Lab

Preview with #A87CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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