#B987DC#B987DC

#B987DC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.4% C 0.131 H 310.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B987DC
RGBrgb(185, 135, 220)
HSLhsl(275, 55%, 70%)
HSVhsv(275, 39%, 86%)
CMYKcmyk(15.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(64.01, 34.73, -36.17)
CIE-LCHlch(64.01, 50.14, 313.84°)
OKLaboklab(70.37% 0.0851 -0.1)
OKLCHoklch(70.37% 0.131 310.4)
XYZxyz(41.5875, 32.8101, 71.8384)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987DC #AADC87
analogous
#8F87DC #B987DC #DC87D5
triadic
#B987DC #DCB987 #87DCB9
tetradic
#B987DC #DC8F87 #AADC87 #87D5DC
square
#B987DC #DC8F87 #AADC87 #87D5DC
split-complementary
#B987DC #D5DC87 #87DC8F
monochromatic
#8035B4 #9D58CE #B987DC #D5B6EA #F0E6F8

Accessibility & contrast

On white

2.78
#B987DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B987DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987DC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987DC#FFFFFF#000000##000000
##B987DC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699DF
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#B593A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b987dc;
/* rgb */ color: rgb(185, 135, 220);
/* oklch */ color: oklch(70.4% 0.131 310.4);
Tailwind
colors: {
  custom: {
    50: '#cfaae7',
    500: '#b987dc',
    950: '#000000',
  },
}
SCSS
$custom: #b987dc;
$custom-light: #cfaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b987dc",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 275.294,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.13128,
    "h": 310.4
  },
  "luminance": 0.3281
}

Semantic roles & 50–950 ramp

primary
#B987DC
secondary
#DDECD3
accent
#C22365
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B987DC

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

Preview Lab → · Contrast checker → · Palette generator →

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