#BD87F7#BD87F7

#BD87F7 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.165 H 304.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#BD87F7
RGBrgb(189, 135, 247)
HSLhsl(269, 88%, 75%)
HSVhsv(269, 45%, 97%)
CMYKcmyk(23.5%, 45.3%, 0%, 3.1%)
CIE-LABlab(65.64, 41.90, -48.49)
CIE-LCHlch(65.64, 64.09, 310.82°)
OKLaboklab(72.09% 0.0944 -0.1355)
OKLCHoklch(72.09% 0.165 304.9)
XYZxyz(46.4352, 34.8624, 92.2605)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F7 #C1F787
analogous
#8789F7 #BD87F7 #F587F7
triadic
#BD87F7 #F7BD87 #87F7BD
tetradic
#BD87F7 #F78789 #C1F787 #87F7F5
square
#BD87F7 #F78789 #C1F787 #87F7F5
split-complementary
#BD87F7 #F7F587 #89F787
monochromatic
#7E14EF #9D4EF3 #BD87F7 #DDC0FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.97
#BD87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F7#FFFFFF#000000##000000
##BD87F71.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#B49AB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f7;
/* rgb */ color: rgb(189, 135, 247);
/* oklch */ color: oklch(72.1% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#d3abfa',
    500: '#bd87f7',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f7;
$custom-light: #d3abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f7",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 268.929,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72092,
    "c": 0.16519,
    "h": 304.9
  },
  "luminance": 0.34862
}

Semantic roles & 50–950 ramp

primary
#BD87F7
secondary
#E6F5D6
accent
#E40177
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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