#BD87E2#BD87E2

#BD87E2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.140 H 310.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#BD87E2
RGBrgb(189, 135, 226)
HSLhsl(276, 61%, 71%)
HSVhsv(276, 40%, 89%)
CMYKcmyk(16.4%, 40.3%, 0%, 11.4%)
CIE-LABlab(64.67, 37.22, -38.43)
CIE-LCHlch(64.67, 53.50, 314.08°)
OKLaboklab(71.05% 0.091 -0.1064)
OKLCHoklch(71.05% 0.14 310.5)
XYZxyz(43.3752, 33.6384, 76.1446)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87E2 #ACE287
analogous
#8F87E2 #BD87E2 #E287DA
triadic
#BD87E2 #E2BD87 #87E2BD
tetradic
#BD87E2 #E28F87 #ACE287 #87DAE2
square
#BD87E2 #E28F87 #ACE287 #87DAE2
split-complementary
#BD87E2 #DAE287 #87E28F
monochromatic
#852EC0 #A256D6 #BD87E2 #D8B8EE #F1E6F9

Accessibility & contrast

On white

2.72
#BD87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#BD87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87E2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87E2#FFFFFF#000000##000000
##BD87E21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#B994AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bd87e2;
/* rgb */ color: rgb(189, 135, 226);
/* oklch */ color: oklch(71.0% 0.140 310.5);
Tailwind
colors: {
  custom: {
    50: '#d2abeb',
    500: '#bd87e2',
    950: '#000000',
  },
}
SCSS
$custom: #bd87e2;
$custom-light: #d2abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87e2",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 275.604,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7105,
    "c": 0.14,
    "h": 310.5
  },
  "luminance": 0.33638
}

Semantic roles & 50–950 ramp

primary
#BD87E2
secondary
#E0EFD6
accent
#C91D63
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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