#A87BB2#A87BB2

#A87BB2 is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.7% C 0.095 H 320.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A87BB2
RGBrgb(168, 123, 178)
HSLhsl(289, 26%, 59%)
HSVhsv(289, 31%, 70%)
CMYKcmyk(5.6%, 30.9%, 0%, 30.2%)
CIE-LABlab(57.76, 27.24, -22.28)
CIE-LCHlch(57.76, 35.19, 320.72°)
OKLaboklab(64.66% 0.0727 -0.0607)
OKLCHoklch(64.66% 0.095 320.2)
XYZxyz(31.2662, 25.7059, 45.4255)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BB2 #85B27B
analogous
#8D7BB2 #A87BB2 #B27BA1
triadic
#A87BB2 #B2A87B #7BB2A8
tetradic
#A87BB2 #B28D7B #85B27B #7BA1B2
square
#A87BB2 #B28D7B #85B27B #7BA1B2
split-complementary
#A87BB2 #A1B27B #7BB28D
monochromatic
#684271 #8C5897 #A87BB2 #C1A2C9 #DBC8DF

Accessibility & contrast

On white

3.42
#A87BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A87BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BB2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BB2#FFFFFF#000000##000000
##A87BB21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#A9818F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a87bb2;
/* rgb */ color: rgb(168, 123, 178);
/* oklch */ color: oklch(64.7% 0.095 320.2);
Tailwind
colors: {
  custom: {
    50: '#c2a1c9',
    500: '#a87bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a87bb2;
$custom-light: #c2a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bb2",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 289.091,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.09468,
    "h": 320.2
  },
  "luminance": 0.25705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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