#A87FBB#A87FBB

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

Color values

HEX#A87FBB
RGBrgb(168, 127, 187)
HSLhsl(281, 31%, 62%)
HSVhsv(281, 32%, 73%)
CMYKcmyk(10.2%, 32.1%, 0%, 26.7%)
CIE-LABlab(59.06, 26.84, -25.41)
CIE-LCHlch(59.06, 36.96, 316.57°)
OKLaboklab(65.77% 0.069 -0.0695)
OKLCHoklch(65.77% 0.098 314.8)
XYZxyz(32.7061, 27.0920, 50.5104)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FBB #92BB7F
analogous
#8A7FBB #A87FBB #BB7FB0
triadic
#A87FBB #BBA87F #7FBBA8
tetradic
#A87FBB #BB8A7F #92BB7F #7FB0BB
square
#A87FBB #BB8A7F #92BB7F #7FB0BB
split-complementary
#A87FBB #B0BB7F #7FBB8A
monochromatic
#6B427D #8D58A5 #A87FBB #C3A7D0 #DECFE5

Accessibility & contrast

On white

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

On black

6.42
#A87FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FBB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FBB#FFFFFF#000000##000000
##A87FBB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBD
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#A78695
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87fbb;
/* rgb */ color: rgb(168, 127, 187);
/* oklch */ color: oklch(65.8% 0.098 314.8);
Tailwind
colors: {
  custom: {
    50: '#c2a4cf',
    500: '#a87fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a87fbb;
$custom-light: #c2a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fbb",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 281,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.09798,
    "h": 314.8
  },
  "luminance": 0.27091
}

Semantic roles & 50–950 ramp

primary
#A87FBB
secondary
#C7D6C0
accent
#A93C5F
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A87FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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