#BD87FB#BD87FB

#BD87FB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.170 H 303.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BD87FB
RGBrgb(189, 135, 251)
HSLhsl(268, 94%, 76%)
HSVhsv(268, 46%, 98%)
CMYKcmyk(24.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(65.84, 42.81, -50.38)
CIE-LCHlch(65.84, 66.11, 310.36°)
OKLaboklab(72.3% 0.0949 -0.141)
OKLCHoklch(72.3% 0.17 303.9)
XYZxyz(47.0591, 35.1119, 95.5462)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FB #C5FB87
analogous
#878BFB #BD87FB #F787FB
triadic
#BD87FB #FBBD87 #87FBBD
tetradic
#BD87FB #FB878B #C5FB87 #87FBF7
square
#BD87FB #FB878B #C5FB87 #87FBF7
split-complementary
#BD87FB #FBF787 #8BFB87
monochromatic
#7C11F7 #9C4CF9 #BD87FB #DEC2FD #EFE1FE

Accessibility & contrast

On white

2.62
#BD87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BD87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FB#FFFFFF#000000##000000
##BD87FB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#B29BB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87fb;
/* rgb */ color: rgb(189, 135, 251);
/* oklch */ color: oklch(72.3% 0.170 303.9);
Tailwind
colors: {
  custom: {
    50: '#d3abfd',
    500: '#bd87fb',
    950: '#000000',
  },
}
SCSS
$custom: #bd87fb;
$custom-light: #d3abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87fb",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 267.931,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72301,
    "c": 0.17002,
    "h": 303.9
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#BD87FB
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BD87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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