#BD87F9#BD87F9

#BD87F9 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.168 H 304.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BD87F9
RGBrgb(189, 135, 249)
HSLhsl(268, 90%, 75%)
HSVhsv(268, 46%, 98%)
CMYKcmyk(24.1%, 45.8%, 0%, 2.4%)
CIE-LABlab(65.74, 42.35, -49.44)
CIE-LCHlch(65.74, 65.10, 310.59°)
OKLaboklab(72.2% 0.0947 -0.1383)
OKLCHoklch(72.2% 0.168 304.4)
XYZxyz(46.7455, 34.9865, 93.8946)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F9 #C3F987
analogous
#878AF9 #BD87F9 #F687F9
triadic
#BD87F9 #F9BD87 #87F9BD
tetradic
#BD87F9 #F9878A #C3F987 #87F9F6
square
#BD87F9 #F9878A #C3F987 #87F9F6
split-complementary
#BD87F9 #F9F687 #8AF987
monochromatic
#7D12F3 #9D4DF6 #BD87F9 #DDC1FC #EFE2FE

Accessibility & contrast

On white

2.63
#BD87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BD87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F9#FFFFFF#000000##000000
##BD87F91.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#B39AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87f9;
/* rgb */ color: rgb(189, 135, 249);
/* oklch */ color: oklch(72.2% 0.168 304.4);
Tailwind
colors: {
  custom: {
    50: '#d3abfc',
    500: '#bd87f9',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f9;
$custom-light: #d3abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f9",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 268.421,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72196,
    "c": 0.16761,
    "h": 304.4
  },
  "luminance": 0.34986
}

Semantic roles & 50–950 ramp

primary
#BD87F9
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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