#B987CB#B987CB

#B987CB is a light, moderate purple. Relative luminance 0.320; OKLCH L 69.6% C 0.111 H 316.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#B987CB
RGBrgb(185, 135, 203)
HSLhsl(284, 40%, 66%)
HSVhsv(284, 33%, 80%)
CMYKcmyk(8.9%, 33.5%, 0%, 20.4%)
CIE-LABlab(63.31, 31.13, -27.76)
CIE-LCHlch(63.31, 41.71, 318.28°)
OKLaboklab(69.6% 0.0811 -0.076)
OKLCHoklch(69.6% 0.111 316.9)
XYZxyz(39.4495, 31.9549, 60.5781)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987CB #99CB87
analogous
#9787CB #B987CB #CB87BB
triadic
#B987CB #CBB987 #87CBB9
tetradic
#B987CB #CB9787 #99CB87 #87BBCB
square
#B987CB #CB9787 #99CB87 #87BBCB
split-complementary
#B987CB #BBCB87 #87CB97
monochromatic
#804196 #A05CB8 #B987CB #D2B2DE #EBDCF0

Accessibility & contrast

On white

2.84
#B987CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#B987CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987CB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987CB#FFFFFF#000000##000000
##B987CB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#B98FA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b987cb;
/* rgb */ color: rgb(185, 135, 203);
/* oklch */ color: oklch(69.6% 0.111 316.9);
Tailwind
colors: {
  custom: {
    50: '#cfaadb',
    500: '#b987cb',
    950: '#000000',
  },
}
SCSS
$custom: #b987cb;
$custom-light: #cfaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#b987cb",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 284.118,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.11116,
    "h": 316.9
  },
  "luminance": 0.31954
}

Semantic roles & 50–950 ramp

primary
#B987CB
secondary
#D2E2CC
accent
#B33355
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B987CB

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

Preview Lab → · Contrast checker → · Palette generator →

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