#BD87CC#BD87CC

#BD87CC is a light, moderate purple. Relative luminance 0.325; OKLCH L 70.1% C 0.114 H 318.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BD87CC
RGBrgb(189, 135, 204)
HSLhsl(287, 40%, 66%)
HSVhsv(287, 34%, 80%)
CMYKcmyk(7.4%, 33.8%, 0%, 20%)
CIE-LABlab(63.76, 32.60, -27.59)
CIE-LCHlch(63.76, 42.71, 319.77°)
OKLaboklab(70.06% 0.0861 -0.0754)
OKLCHoklch(70.06% 0.114 318.8)
XYZxyz(40.5478, 32.5074, 61.2536)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87CC #96CC87
analogous
#9B87CC #BD87CC #CC87B9
triadic
#BD87CC #CCBD87 #87CCBD
tetradic
#BD87CC #CC9B87 #96CC87 #87B9CC
square
#BD87CC #CC9B87 #96CC87 #87B9CC
split-complementary
#BD87CC #B9CC87 #87CC9B
monochromatic
#854198 #A55CBA #BD87CC #D5B2DE #ECDDF1

Accessibility & contrast

On white

2.80
#BD87CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BD87CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87CC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87CC#FFFFFF#000000##000000
##BD87CC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CF
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#BE8FA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bd87cc;
/* rgb */ color: rgb(189, 135, 204);
/* oklch */ color: oklch(70.1% 0.114 318.8);
Tailwind
colors: {
  custom: {
    50: '#d2aadb',
    500: '#bd87cc',
    950: '#000000',
  },
}
SCSS
$custom: #bd87cc;
$custom-light: #d2aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87cc",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 286.957,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70058,
    "c": 0.11444,
    "h": 318.8
  },
  "luminance": 0.32506
}

Semantic roles & 50–950 ramp

primary
#BD87CC
secondary
#D1E3CC
accent
#B3324E
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BD87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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