#BD87DE#BD87DE

#BD87DE is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.135 H 311.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BD87DE
RGBrgb(189, 135, 222)
HSLhsl(277, 57%, 70%)
HSVhsv(277, 39%, 87%)
CMYKcmyk(14.9%, 39.2%, 0%, 12.9%)
CIE-LABlab(64.50, 36.35, -36.48)
CIE-LCHlch(64.50, 51.50, 314.90°)
OKLaboklab(70.86% 0.0902 -0.1008)
OKLCHoklch(70.86% 0.135 311.8)
XYZxyz(42.8328, 33.4214, 73.2876)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87DE #A8DE87
analogous
#9187DE #BD87DE #DE87D4
triadic
#BD87DE #DEBD87 #87DEBD
tetradic
#BD87DE #DE9187 #A8DE87 #87D4DE
square
#BD87DE #DE9187 #A8DE87 #87D4DE
split-complementary
#BD87DE #D4DE87 #87DE91
monochromatic
#8533B8 #A357D1 #BD87DE #D7B7EB #F2E7F8

Accessibility & contrast

On white

2.73
#BD87DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#BD87DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87DE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87DE#FFFFFF#000000##000000
##BD87DE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE1
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#BA93A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd87de;
/* rgb */ color: rgb(189, 135, 222);
/* oklch */ color: oklch(70.9% 0.135 311.8);
Tailwind
colors: {
  custom: {
    50: '#d2abe8',
    500: '#bd87de',
    950: '#000000',
  },
}
SCSS
$custom: #bd87de;
$custom-light: #d2abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87de",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 277.241,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.70862,
    "c": 0.13526,
    "h": 311.8
  },
  "luminance": 0.33421
}

Semantic roles & 50–950 ramp

primary
#BD87DE
secondary
#DDEDD4
accent
#C4215F
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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