#B987CD#B987CD

#B987CD is a light, moderate purple. Relative luminance 0.321; OKLCH L 69.7% C 0.113 H 316.0°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B987CD
RGBrgb(185, 135, 205)
HSLhsl(283, 41%, 67%)
HSVhsv(283, 34%, 80%)
CMYKcmyk(9.8%, 34.1%, 0%, 19.6%)
CIE-LABlab(63.38, 31.55, -28.76)
CIE-LCHlch(63.38, 42.69, 317.65°)
OKLaboklab(69.69% 0.0816 -0.0788)
OKLCHoklch(69.69% 0.113 316)
XYZxyz(39.6893, 32.0509, 61.8414)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987CD #9BCD87
analogous
#9687CD #B987CD #CD87BE
triadic
#B987CD #CDB987 #87CDB9
tetradic
#B987CD #CD9687 #9BCD87 #87BECD
square
#B987CD #CD9687 #9BCD87 #87BECD
split-complementary
#B987CD #BECD87 #87CD96
monochromatic
#80409A #A05CBB #B987CD #D2B2DF #EBDDF1

Accessibility & contrast

On white

2.83
#B987CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B987CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987CD
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987CD#FFFFFF#000000##000000
##B987CD1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96D0
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#B890A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b987cd;
/* rgb */ color: rgb(185, 135, 205);
/* oklch */ color: oklch(69.7% 0.113 316.0);
Tailwind
colors: {
  custom: {
    50: '#cfaadc',
    500: '#b987cd',
    950: '#000000',
  },
}
SCSS
$custom: #b987cd;
$custom-light: #cfaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b987cd",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 282.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.11349,
    "h": 316
  },
  "luminance": 0.3205
}

Semantic roles & 50–950 ramp

primary
#B987CD
secondary
#D3E3CD
accent
#B43157
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B987CD

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

Preview Lab → · Contrast checker → · Palette generator →

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