#B987CA#B987CA

#B987CA is a light, moderate purple. Relative luminance 0.319; OKLCH L 69.6% C 0.110 H 317.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B987CA
RGBrgb(185, 135, 202)
HSLhsl(285, 39%, 66%)
HSVhsv(285, 33%, 79%)
CMYKcmyk(8.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(63.27, 30.93, -27.26)
CIE-LCHlch(63.27, 41.23, 318.61°)
OKLaboklab(69.56% 0.0809 -0.0746)
OKLCHoklch(69.56% 0.11 317.3)
XYZxyz(39.3307, 31.9074, 59.9525)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987CA #98CA87
analogous
#9787CA #B987CA #CA87B9
triadic
#B987CA #CAB987 #87CAB9
tetradic
#B987CA #CA9787 #98CA87 #87B9CA
square
#B987CA #CA9787 #98CA87 #87B9CA
split-complementary
#B987CA #B9CA87 #87CA97
monochromatic
#804295 #A05DB7 #B987CA #D2B1DD #EBDCEF

Accessibility & contrast

On white

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

On black

7.38
#B987CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987CA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987CA#FFFFFF#000000##000000
##B987CA1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b987ca;
/* rgb */ color: rgb(185, 135, 202);
/* oklch */ color: oklch(69.6% 0.110 317.3);
Tailwind
colors: {
  custom: {
    50: '#cfaada',
    500: '#b987ca',
    950: '#000000',
  },
}
SCSS
$custom: #b987ca;
$custom-light: #cfaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b987ca",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 284.776,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.11001,
    "h": 317.3
  },
  "luminance": 0.31907
}

Semantic roles & 50–950 ramp

primary
#B987CA
secondary
#D1E1CB
accent
#B23454
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141015
muted
#827F83

Preview Lab

Preview with #B987CA

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

Preview Lab → · Contrast checker → · Palette generator →

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