#A87FBC#A87FBC

#A87FBC is a light, moderate purple. Relative luminance 0.271; OKLCH L 65.8% C 0.099 H 314.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A87FBC
RGBrgb(168, 127, 188)
HSLhsl(280, 31%, 62%)
HSVhsv(280, 32%, 74%)
CMYKcmyk(10.6%, 32.4%, 0%, 26.3%)
CIE-LABlab(59.10, 27.06, -25.92)
CIE-LCHlch(59.10, 37.47, 316.23°)
OKLaboklab(65.81% 0.0693 -0.071)
OKLCHoklch(65.81% 0.099 314.3)
XYZxyz(32.8135, 27.1350, 51.0762)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FBC #93BC7F
analogous
#8A7FBC #A87FBC #BC7FB2
triadic
#A87FBC #BCA87F #7FBCA8
tetradic
#A87FBC #BC8A7F #93BC7F #7FB2BC
square
#A87FBC #BC8A7F #93BC7F #7FB2BC
split-complementary
#A87FBC #B2BC7F #7FBC8A
monochromatic
#6B427E #8D57A7 #A87FBC #C3A7D1 #DFCFE6

Accessibility & contrast

On white

3.27
#A87FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A87FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FBC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FBC#FFFFFF#000000##000000
##A87FBC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#7F8FBA
Tritanopia (blue-blind)
#A78795
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87fbc;
/* rgb */ color: rgb(168, 127, 188);
/* oklch */ color: oklch(65.8% 0.099 314.3);
Tailwind
colors: {
  custom: {
    50: '#c2a4d0',
    500: '#a87fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a87fbc;
$custom-light: #c2a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fbc",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 280.328,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.09919,
    "h": 314.3
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#A87FBC
secondary
#C8D7C0
accent
#AA3B60
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A87FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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