#BD87CB#BD87CB

#BD87CB is a light, moderate purple. Relative luminance 0.325; OKLCH L 70.0% C 0.113 H 319.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BD87CB
RGBrgb(189, 135, 203)
HSLhsl(288, 40%, 66%)
HSVhsv(288, 33%, 80%)
CMYKcmyk(6.9%, 33.5%, 0%, 20.4%)
CIE-LABlab(63.72, 32.40, -27.09)
CIE-LCHlch(63.72, 42.23, 320.11°)
OKLaboklab(70.02% 0.0858 -0.074)
OKLCHoklch(70.02% 0.113 319.2)
XYZxyz(40.4283, 32.4596, 60.6240)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87CB #95CB87
analogous
#9B87CB #BD87CB #CB87B7
triadic
#BD87CB #CBBD87 #87CBBD
tetradic
#BD87CB #CB9B87 #95CB87 #87B7CB
square
#BD87CB #CB9B87 #95CB87 #87B7CB
split-complementary
#BD87CB #B7CB87 #87CB9B
monochromatic
#854196 #A65CB8 #BD87CB #D4B2DE #ECDCF0

Accessibility & contrast

On white

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

On black

7.49
#BD87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87CB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87CB#FFFFFF#000000##000000
##BD87CB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd87cb;
/* rgb */ color: rgb(189, 135, 203);
/* oklch */ color: oklch(70.0% 0.113 319.2);
Tailwind
colors: {
  custom: {
    50: '#d2aadb',
    500: '#bd87cb',
    950: '#000000',
  },
}
SCSS
$custom: #bd87cb;
$custom-light: #d2aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87cb",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 287.647,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.11332,
    "h": 319.2
  },
  "luminance": 0.32459
}

Semantic roles & 50–950 ramp

primary
#BD87CB
secondary
#D0E2CC
accent
#B3334D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BD87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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