#BD87E9#BD87E9

#BD87E9 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.148 H 308.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BD87E9
RGBrgb(189, 135, 233)
HSLhsl(273, 69%, 72%)
HSVhsv(273, 42%, 91%)
CMYKcmyk(18.9%, 42.1%, 0%, 8.6%)
CIE-LABlab(64.99, 38.75, -41.82)
CIE-LCHlch(64.99, 57.01, 312.82°)
OKLaboklab(71.39% 0.0922 -0.1162)
OKLCHoklch(71.39% 0.148 308.4)
XYZxyz(44.3554, 34.0305, 81.3069)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87E9 #B3E987
analogous
#8C87E9 #BD87E9 #E987E4
triadic
#BD87E9 #E9BD87 #87E9BD
tetradic
#BD87E9 #E98C87 #B3E987 #87E4E9
square
#BD87E9 #E98C87 #B3E987 #87E4E9
split-complementary
#BD87E9 #E4E987 #87E98C
monochromatic
#8326D0 #A153E0 #BD87E9 #D9BBF2 #F1E5FA

Accessibility & contrast

On white

2.69
#BD87E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BD87E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87E9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87E9#FFFFFF#000000##000000
##BD87E91.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BED
Deuteranopia (green-blind)
#7E9EE6
Tritanopia (blue-blind)
#B796AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd87e9;
/* rgb */ color: rgb(189, 135, 233);
/* oklch */ color: oklch(71.4% 0.148 308.4);
Tailwind
colors: {
  custom: {
    50: '#d2abf0',
    500: '#bd87e9',
    950: '#000000',
  },
}
SCSS
$custom: #bd87e9;
$custom-light: #d2abf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87e9",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 273.061,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71387,
    "c": 0.14836,
    "h": 308.4
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#BD87E9
secondary
#E4F2D9
accent
#D11569
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87E9

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

Preview Lab → · Contrast checker → · Palette generator →

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