#BD87F8#BD87F8

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

Color values

HEX#BD87F8
RGBrgb(189, 135, 248)
HSLhsl(269, 89%, 75%)
HSVhsv(269, 46%, 97%)
CMYKcmyk(23.8%, 45.6%, 0%, 2.7%)
CIE-LABlab(65.69, 42.12, -48.97)
CIE-LCHlch(65.69, 64.59, 310.70°)
OKLaboklab(72.14% 0.0946 -0.1369)
OKLCHoklch(72.14% 0.166 304.6)
XYZxyz(46.5899, 34.9243, 93.0754)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F8 #C2F887
analogous
#8789F8 #BD87F8 #F687F8
triadic
#BD87F8 #F8BD87 #87F8BD
tetradic
#BD87F8 #F88789 #C2F887 #87F8F6
square
#BD87F8 #F88789 #C2F887 #87F8F6
split-complementary
#BD87F8 #F8F687 #89F887
monochromatic
#7D13F1 #9D4DF5 #BD87F8 #DDC1FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.98
#BD87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F8#FFFFFF#000000##000000
##BD87F81.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#B39AB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87f8;
/* rgb */ color: rgb(189, 135, 248);
/* oklch */ color: oklch(72.1% 0.166 304.6);
Tailwind
colors: {
  custom: {
    50: '#d3abfb',
    500: '#bd87f8',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f8;
$custom-light: #d3abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f8",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 268.673,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.1664,
    "h": 304.6
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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