#BD87E8#BD87E8

#BD87E8 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.147 H 308.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#BD87E8
RGBrgb(189, 135, 232)
HSLhsl(273, 68%, 72%)
HSVhsv(273, 42%, 91%)
CMYKcmyk(18.5%, 41.8%, 0%, 9%)
CIE-LABlab(64.94, 38.53, -41.33)
CIE-LCHlch(64.94, 56.51, 312.99°)
OKLaboklab(71.34% 0.0921 -0.1148)
OKLCHoklch(71.34% 0.147 308.7)
XYZxyz(44.2130, 33.9735, 80.5567)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87E8 #B2E887
analogous
#8D87E8 #BD87E8 #E887E3
triadic
#BD87E8 #E8BD87 #87E8BD
tetradic
#BD87E8 #E88D87 #B2E887 #87E3E8
square
#BD87E8 #E88D87 #B2E887 #87E3E8
split-complementary
#BD87E8 #E3E887 #87E88D
monochromatic
#8427CD #A154DE #BD87E8 #D9BAF2 #F1E5FA

Accessibility & contrast

On white

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

On black

7.79
#BD87E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87E8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87E8#FFFFFF#000000##000000
##BD87E81.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEC
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#B796AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd87e8;
/* rgb */ color: rgb(189, 135, 232);
/* oklch */ color: oklch(71.3% 0.147 308.7);
Tailwind
colors: {
  custom: {
    50: '#d2abef',
    500: '#bd87e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd87e8;
$custom-light: #d2abef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87e8",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 273.402,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71338,
    "c": 0.14715,
    "h": 308.7
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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