#B987DA#B987DA

#B987DA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.3% C 0.129 H 311.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B987DA
RGBrgb(185, 135, 218)
HSLhsl(276, 53%, 69%)
HSVhsv(276, 38%, 85%)
CMYKcmyk(15.1%, 38.1%, 0%, 14.5%)
CIE-LABlab(63.92, 34.30, -35.19)
CIE-LCHlch(63.92, 49.14, 314.26°)
OKLaboklab(70.27% 0.0846 -0.0972)
OKLCHoklch(70.27% 0.129 311)
XYZxyz(41.3242, 32.7048, 70.4518)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987DA #A8DA87
analogous
#9087DA #B987DA #DA87D1
triadic
#B987DA #DAB987 #87DAB9
tetradic
#B987DA #DA9087 #A8DA87 #87D1DA
square
#B987DA #DA9087 #A8DA87 #87D1DA
split-complementary
#B987DA #D1DA87 #87DA90
monochromatic
#8036B0 #9E58CC #B987DA #D4B6E8 #F0E5F7

Accessibility & contrast

On white

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

On black

7.54
#B987DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987DA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987DA#FFFFFF#000000##000000
##B987DA1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#B693A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b987da;
/* rgb */ color: rgb(185, 135, 218);
/* oklch */ color: oklch(70.3% 0.129 311.0);
Tailwind
colors: {
  custom: {
    50: '#cfaae5',
    500: '#b987da',
    950: '#000000',
  },
}
SCSS
$custom: #b987da;
$custom-light: #cfaae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b987da",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 276.145,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.12888,
    "h": 311
  },
  "luminance": 0.32704
}

Semantic roles & 50–950 ramp

primary
#B987DA
secondary
#DCEAD2
accent
#C02563
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B987DA

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

Preview Lab → · Contrast checker → · Palette generator →

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