#BF87DC#BF87DC

#BF87DC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.134 H 313.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#BF87DC
RGBrgb(191, 135, 220)
HSLhsl(280, 55%, 70%)
HSVhsv(280, 39%, 86%)
CMYKcmyk(13.2%, 38.6%, 0%, 13.7%)
CIE-LABlab(64.62, 36.53, -35.16)
CIE-LCHlch(64.62, 50.70, 316.09°)
OKLaboklab(70.97% 0.0921 -0.097)
OKLCHoklch(70.97% 0.134 313.5)
XYZxyz(43.0660, 33.5725, 71.9077)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87DC #A4DC87
analogous
#9487DC #BF87DC #DC87CF
triadic
#BF87DC #DCBF87 #87DCBF
tetradic
#BF87DC #DC9487 #A4DC87 #87CFDC
square
#BF87DC #DC9487 #A4DC87 #87CFDC
split-complementary
#BF87DC #CFDC87 #87DC94
monochromatic
#8935B4 #A658CE #BF87DC #D8B6EA #F2E6F8

Accessibility & contrast

On white

2.72
#BF87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#BF87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87DC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87DC#FFFFFF#000000##000000
##BF87DC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#869EDA
Tritanopia (blue-blind)
#BD93A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bf87dc;
/* rgb */ color: rgb(191, 135, 220);
/* oklch */ color: oklch(71.0% 0.134 313.5);
Tailwind
colors: {
  custom: {
    50: '#d3abe7',
    500: '#bf87dc',
    950: '#000000',
  },
}
SCSS
$custom: #bf87dc;
$custom-light: #d3abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87dc",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 279.529,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70972,
    "c": 0.13376,
    "h": 313.5
  },
  "luminance": 0.33572
}

Semantic roles & 50–950 ramp

primary
#BF87DC
secondary
#DCECD3
accent
#C22359
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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