#BD87DC#BD87DC

#BD87DC is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.133 H 312.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BD87DC
RGBrgb(189, 135, 220)
HSLhsl(278, 55%, 70%)
HSVhsv(278, 39%, 86%)
CMYKcmyk(14.1%, 38.6%, 0%, 13.7%)
CIE-LABlab(64.42, 35.93, -35.50)
CIE-LCHlch(64.42, 50.51, 315.34°)
OKLaboklab(70.77% 0.0898 -0.098)
OKLCHoklch(70.77% 0.133 312.5)
XYZxyz(42.5663, 33.3148, 71.8843)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87DC #A6DC87
analogous
#9387DC #BD87DC #DC87D0
triadic
#BD87DC #DCBD87 #87DCBD
tetradic
#BD87DC #DC9387 #A6DC87 #87D0DC
square
#BD87DC #DC9387 #A6DC87 #87D0DC
split-complementary
#BD87DC #D0DC87 #87DC93
monochromatic
#8635B4 #A358CE #BD87DC #D7B6EA #F1E6F8

Accessibility & contrast

On white

2.74
#BD87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BD87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87DC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87DC#FFFFFF#000000##000000
##BD87DC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#BA93A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd87dc;
/* rgb */ color: rgb(189, 135, 220);
/* oklch */ color: oklch(70.8% 0.133 312.5);
Tailwind
colors: {
  custom: {
    50: '#d2abe7',
    500: '#bd87dc',
    950: '#000000',
  },
}
SCSS
$custom: #bd87dc;
$custom-light: #d2abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87dc",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 278.118,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70769,
    "c": 0.1329,
    "h": 312.5
  },
  "luminance": 0.33314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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