#BD87F0#BD87F0

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

Color values

HEX#BD87F0
RGBrgb(189, 135, 240)
HSLhsl(271, 78%, 74%)
HSVhsv(271, 44%, 94%)
CMYKcmyk(21.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(65.31, 40.31, -45.17)
CIE-LCHlch(65.31, 60.54, 311.74°)
OKLaboklab(71.74% 0.0934 -0.1259)
OKLCHoklch(71.74% 0.157 306.6)
XYZxyz(45.3753, 34.4384, 86.6780)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F0 #BAF087
analogous
#8887F0 #BD87F0 #F087EF
triadic
#BD87F0 #F0BD87 #87F0BD
tetradic
#BD87F0 #F08887 #BAF087 #87EFF0
square
#BD87F0 #F08887 #BAF087 #87EFF0
split-complementary
#BD87F0 #EFF087 #87F088
monochromatic
#811CE1 #9F51E9 #BD87F0 #DBBDF7 #F0E4FC

Accessibility & contrast

On white

2.66
#BD87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BD87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F0#FFFFFF#000000##000000
##BD87F01.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#B598B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f0;
/* rgb */ color: rgb(189, 135, 240);
/* oklch */ color: oklch(71.7% 0.157 306.6);
Tailwind
colors: {
  custom: {
    50: '#d3abf5',
    500: '#bd87f0',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f0;
$custom-light: #d3abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f0",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 270.857,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71735,
    "c": 0.15676,
    "h": 306.6
  },
  "luminance": 0.34438
}

Semantic roles & 50–950 ramp

primary
#BD87F0
secondary
#E5F3D8
accent
#DA0B70
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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