#BD87EF#BD87EF

#BD87EF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.156 H 306.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BD87EF
RGBrgb(189, 135, 239)
HSLhsl(271, 76%, 73%)
HSVhsv(271, 44%, 94%)
CMYKcmyk(20.9%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.26, 40.08, -44.69)
CIE-LCHlch(65.26, 60.03, 311.89°)
OKLaboklab(71.68% 0.0932 -0.1245)
OKLCHoklch(71.68% 0.156 306.8)
XYZxyz(45.2271, 34.3792, 85.8978)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87EF #B9EF87
analogous
#8987EF #BD87EF #EF87ED
triadic
#BD87EF #EFBD87 #87EFBD
tetradic
#BD87EF #EF8987 #B9EF87 #87EDEF
square
#BD87EF #EF8987 #B9EF87 #87EDEF
split-complementary
#BD87EF #EDEF87 #87EF89
monochromatic
#811EDE #9F51E8 #BD87EF #DBBDF6 #F0E4FB

Accessibility & contrast

On white

2.67
#BD87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BD87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87EF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87EF#FFFFFF#000000##000000
##BD87EF1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#B698B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd87ef;
/* rgb */ color: rgb(189, 135, 239);
/* oklch */ color: oklch(71.7% 0.156 306.8);
Tailwind
colors: {
  custom: {
    50: '#d3abf4',
    500: '#bd87ef',
    950: '#000000',
  },
}
SCSS
$custom: #bd87ef;
$custom-light: #d3abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87ef",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 271.154,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71684,
    "c": 0.15556,
    "h": 306.8
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

primary
#BD87EF
secondary
#E5F3D8
accent
#D90D6F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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