#A87FB2#A87FB2

#A87FB2 is a light, moderate purple. Relative luminance 0.267; OKLCH L 65.4% C 0.087 H 319.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A87FB2
RGBrgb(168, 127, 178)
HSLhsl(288, 25%, 60%)
HSVhsv(288, 29%, 70%)
CMYKcmyk(5.6%, 28.7%, 0%, 30.2%)
CIE-LABlab(58.71, 24.97, -20.81)
CIE-LCHlch(58.71, 32.51, 320.19°)
OKLaboklab(65.39% 0.0665 -0.0566)
OKLCHoklch(65.39% 0.087 319.6)
XYZxyz(31.7726, 26.7187, 45.5943)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FB2 #89B27F
analogous
#8E7FB2 #A87FB2 #B27FA3
triadic
#A87FB2 #B2A87F #7FB2A8
tetradic
#A87FB2 #B28E7F #89B27F #7FA3B2
square
#A87FB2 #B28E7F #89B27F #7FA3B2
split-complementary
#A87FB2 #A3B27F #7FB28E
monochromatic
#694572 #8C5C98 #A87FB2 #C2A5C9 #DCCBE0

Accessibility & contrast

On white

3.31
#A87FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A87FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FB2#FFFFFF#000000##000000
##A87FB21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#828FB0
Tritanopia (blue-blind)
#A98491
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87fb2;
/* rgb */ color: rgb(168, 127, 178);
/* oklch */ color: oklch(65.4% 0.087 319.6);
Tailwind
colors: {
  custom: {
    50: '#c2a4c9',
    500: '#a87fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a87fb2;
$custom-light: #c2a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fb2",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 288.235,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6539,
    "c": 0.08731,
    "h": 319.6
  },
  "luminance": 0.26718
}

Semantic roles & 50–950 ramp

primary
#A87FB2
secondary
#C0D0BD
accent
#C16778
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#120F13
muted
#817F82

Preview Lab

Preview with #A87FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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