#BD87E6#BD87E6

#BD87E6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.2% C 0.145 H 309.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#BD87E6
RGBrgb(189, 135, 230)
HSLhsl(274, 66%, 72%)
HSVhsv(274, 41%, 90%)
CMYKcmyk(17.8%, 41.3%, 0%, 9.8%)
CIE-LABlab(64.85, 38.09, -40.37)
CIE-LCHlch(64.85, 55.50, 313.33°)
OKLaboklab(71.24% 0.0917 -0.112)
OKLCHoklch(71.24% 0.145 309.3)
XYZxyz(43.9305, 33.8605, 79.0690)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87E6 #B0E687
analogous
#8E87E6 #BD87E6 #E687E0
triadic
#BD87E6 #E6BD87 #87E6BD
tetradic
#BD87E6 #E68E87 #B0E687 #87E0E6
square
#BD87E6 #E68E87 #B0E687 #87E0E6
split-complementary
#BD87E6 #E0E687 #87E68E
monochromatic
#842AC9 #A154DB #BD87E6 #D9BAF1 #F1E6FA

Accessibility & contrast

On white

2.70
#BD87E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#BD87E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87E6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87E6#FFFFFF#000000##000000
##BD87E61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BEA
Deuteranopia (green-blind)
#809EE3
Tritanopia (blue-blind)
#B895AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bd87e6;
/* rgb */ color: rgb(189, 135, 230);
/* oklch */ color: oklch(71.2% 0.145 309.3);
Tailwind
colors: {
  custom: {
    50: '#d2abee',
    500: '#bd87e6',
    950: '#000000',
  },
}
SCSS
$custom: #bd87e6;
$custom-light: #d2abee;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87e6",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 274.105,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71241,
    "c": 0.14477,
    "h": 309.3
  },
  "luminance": 0.3386
}

Semantic roles & 50–950 ramp

primary
#BD87E6
secondary
#E3F1D8
accent
#CD1866
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87E6

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

Preview Lab → · Contrast checker → · Palette generator →

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