#B987BC#B987BC

#B987BC is a light, moderate purple. Relative luminance 0.313; OKLCH L 69.0% C 0.094 H 324.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B987BC
RGBrgb(185, 135, 188)
HSLhsl(297, 28%, 63%)
HSVhsv(297, 28%, 74%)
CMYKcmyk(1.6%, 28.2%, 0%, 26.3%)
CIE-LABlab(62.74, 28.14, -20.19)
CIE-LCHlch(62.74, 34.63, 324.34°)
OKLaboklab(68.99% 0.077 -0.0546)
OKLCHoklch(68.99% 0.094 324.6)
XYZxyz(37.7477, 31.2742, 51.6153)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987BC #8ABC87
analogous
#9E87BC #B987BC #BC87A4
triadic
#B987BC #BCB987 #87BCB9
tetradic
#B987BC #BC9E87 #8ABC87 #87A4BC
square
#B987BC #BC9E87 #8ABC87 #87A4BC
split-complementary
#B987BC #A4BC87 #87BC9E
monochromatic
#7E4881 #A260A6 #B987BC #D0AED2 #E7D6E8

Accessibility & contrast

On white

2.89
#B987BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B987BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987BC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987BC#FFFFFF#000000##000000
##B987BC1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#8E9ABA
Tritanopia (blue-blind)
#BC8C9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b987bc;
/* rgb */ color: rgb(185, 135, 188);
/* oklch */ color: oklch(69.0% 0.094 324.6);
Tailwind
colors: {
  custom: {
    50: '#ceaad0',
    500: '#b987bc',
    950: '#000000',
  },
}
SCSS
$custom: #b987bc;
$custom-light: #ceaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b987bc",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 296.604,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.09446,
    "h": 324.6
  },
  "luminance": 0.31273
}

Semantic roles & 50–950 ramp

primary
#B987BC
secondary
#C7D9C6
accent
#A73F44
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #B987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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