#BD87F5#BD87F5

#BD87F5 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.0% C 0.163 H 305.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BD87F5
RGBrgb(189, 135, 245)
HSLhsl(269, 85%, 75%)
HSVhsv(269, 45%, 96%)
CMYKcmyk(22.9%, 44.9%, 0%, 3.9%)
CIE-LABlab(65.55, 41.44, -47.55)
CIE-LCHlch(65.55, 63.07, 311.07°)
OKLaboklab(71.99% 0.0941 -0.1328)
OKLCHoklch(71.99% 0.163 305.3)
XYZxyz(46.1283, 34.7396, 90.6438)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F5 #BFF587
analogous
#8788F5 #BD87F5 #F487F5
triadic
#BD87F5 #F5BD87 #87F5BD
tetradic
#BD87F5 #F58788 #BFF587 #87F5F4
square
#BD87F5 #F58788 #BFF587 #87F5F4
split-complementary
#BD87F5 #F5F487 #88F587
monochromatic
#7F16EC #9E4FF0 #BD87F5 #DCBFFA #EFE3FD

Accessibility & contrast

On white

2.64
#BD87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BD87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F5#FFFFFF#000000##000000
##BD87F51.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF9
Deuteranopia (green-blind)
#789FF2
Tritanopia (blue-blind)
#B499B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f5;
/* rgb */ color: rgb(189, 135, 245);
/* oklch */ color: oklch(72.0% 0.163 305.3);
Tailwind
colors: {
  custom: {
    50: '#d3abf9',
    500: '#bd87f5',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f5;
$custom-light: #d3abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f5",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 269.455,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.16278,
    "h": 305.3
  },
  "luminance": 0.34739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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