#BD87DD#BD87DD

#BD87DD is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.134 H 312.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#BD87DD
RGBrgb(189, 135, 221)
HSLhsl(278, 56%, 70%)
HSVhsv(278, 39%, 87%)
CMYKcmyk(14.5%, 38.9%, 0%, 13.3%)
CIE-LABlab(64.46, 36.14, -35.99)
CIE-LCHlch(64.46, 51.00, 315.12°)
OKLaboklab(70.82% 0.09 -0.0994)
OKLCHoklch(70.82% 0.134 312.1)
XYZxyz(42.6992, 33.3680, 72.5839)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87DD #A7DD87
analogous
#9287DD #BD87DD #DD87D2
triadic
#BD87DD #DDBD87 #87DDBD
tetradic
#BD87DD #DD9287 #A7DD87 #87D2DD
square
#BD87DD #DD9287 #A7DD87 #87D2DD
split-complementary
#BD87DD #D2DD87 #87DD92
monochromatic
#8534B6 #A357CF #BD87DD #D7B7EB #F1E6F8

Accessibility & contrast

On white

2.74
#BD87DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#BD87DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87DD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87DD#FFFFFF#000000##000000
##BD87DD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799E0
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#BA93A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd87dd;
/* rgb */ color: rgb(189, 135, 221);
/* oklch */ color: oklch(70.8% 0.134 312.1);
Tailwind
colors: {
  custom: {
    50: '#d2abe8',
    500: '#bd87dd',
    950: '#000000',
  },
}
SCSS
$custom: #bd87dd;
$custom-light: #d2abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87dd",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 277.674,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70815,
    "c": 0.13408,
    "h": 312.1
  },
  "luminance": 0.33367
}

Semantic roles & 50–950 ramp

primary
#BD87DD
secondary
#DDECD4
accent
#C3225E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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