#BD87ED#BD87ED

#BD87ED is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.153 H 307.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BD87ED
RGBrgb(189, 135, 237)
HSLhsl(272, 74%, 73%)
HSVhsv(272, 43%, 93%)
CMYKcmyk(20.3%, 43%, 0%, 7.1%)
CIE-LABlab(65.17, 39.64, -43.74)
CIE-LCHlch(65.17, 59.02, 312.18°)
OKLaboklab(71.58% 0.0929 -0.1217)
OKLCHoklch(71.58% 0.153 307.3)
XYZxyz(44.9333, 34.2616, 84.3504)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87ED #B7ED87
analogous
#8A87ED #BD87ED #ED87EA
triadic
#BD87ED #EDBD87 #87EDBD
tetradic
#BD87ED #ED8A87 #B7ED87 #87EAED
square
#BD87ED #ED8A87 #B7ED87 #87EAED
split-complementary
#BD87ED #EAED87 #87ED8A
monochromatic
#8221D9 #A052E5 #BD87ED #DABCF5 #F0E4FB

Accessibility & contrast

On white

2.67
#BD87ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BD87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87ED
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87ED#FFFFFF#000000##000000
##BD87ED1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#B697AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bd87ed;
/* rgb */ color: rgb(189, 135, 237);
/* oklch */ color: oklch(71.6% 0.153 307.3);
Tailwind
colors: {
  custom: {
    50: '#d3abf3',
    500: '#bd87ed',
    950: '#000000',
  },
}
SCSS
$custom: #bd87ed;
$custom-light: #d3abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87ed",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 271.765,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.15315,
    "h": 307.3
  },
  "luminance": 0.34261
}

Semantic roles & 50–950 ramp

primary
#BD87ED
secondary
#E5F3D8
accent
#D60F6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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