#BD87DB#BD87DB

#BD87DB is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.132 H 312.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#BD87DB
RGBrgb(189, 135, 219)
HSLhsl(279, 54%, 69%)
HSVhsv(279, 38%, 86%)
CMYKcmyk(13.7%, 38.4%, 0%, 14.1%)
CIE-LABlab(64.37, 35.71, -35.01)
CIE-LCHlch(64.37, 50.01, 315.57°)
OKLaboklab(70.72% 0.0895 -0.0966)
OKLCHoklch(70.72% 0.132 312.8)
XYZxyz(42.4343, 33.2620, 71.1889)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87DB #A5DB87
analogous
#9387DB #BD87DB #DB87CF
triadic
#BD87DB #DBBD87 #87DBBD
tetradic
#BD87DB #DB9387 #A5DB87 #87CFDB
square
#BD87DB #DB9387 #A5DB87 #87CFDB
split-complementary
#BD87DB #CFDB87 #87DB93
monochromatic
#8635B2 #A358CD #BD87DB #D7B6E9 #F1E5F7

Accessibility & contrast

On white

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

On black

7.65
#BD87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87DB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87DB#FFFFFF#000000##000000
##BD87DB1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#859DD9
Tritanopia (blue-blind)
#BA93A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd87db;
/* rgb */ color: rgb(189, 135, 219);
/* oklch */ color: oklch(70.7% 0.132 312.8);
Tailwind
colors: {
  custom: {
    50: '#d2abe6',
    500: '#bd87db',
    950: '#000000',
  },
}
SCSS
$custom: #bd87db;
$custom-light: #d2abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87db",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 278.571,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70723,
    "c": 0.13172,
    "h": 312.8
  },
  "luminance": 0.33261
}

Semantic roles & 50–950 ramp

primary
#BD87DB
secondary
#DBEBD3
accent
#C1245C
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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