#BD87CA#BD87CA

#BD87CA is a light, moderate purple. Relative luminance 0.324; OKLCH L 70.0% C 0.112 H 319.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BD87CA
RGBrgb(189, 135, 202)
HSLhsl(288, 39%, 66%)
HSVhsv(288, 33%, 79%)
CMYKcmyk(6.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(63.68, 32.20, -26.58)
CIE-LCHlch(63.68, 41.76, 320.46°)
OKLaboklab(69.97% 0.0856 -0.0726)
OKLCHoklch(69.97% 0.112 319.7)
XYZxyz(40.3095, 32.4121, 59.9984)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87CA #94CA87
analogous
#9B87CA #BD87CA #CA87B5
triadic
#BD87CA #CABD87 #87CABD
tetradic
#BD87CA #CA9B87 #94CA87 #87B5CA
square
#BD87CA #CA9B87 #94CA87 #87B5CA
split-complementary
#BD87CA #B5CA87 #87CA9B
monochromatic
#854295 #A65DB7 #BD87CA #D4B1DD #ECDCEF

Accessibility & contrast

On white

2.81
#BD87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BD87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87CA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87CA#FFFFFF#000000##000000
##BD87CA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd87ca;
/* rgb */ color: rgb(189, 135, 202);
/* oklch */ color: oklch(70.0% 0.112 319.7);
Tailwind
colors: {
  custom: {
    50: '#d2aada',
    500: '#bd87ca',
    950: '#000000',
  },
}
SCSS
$custom: #bd87ca;
$custom-light: #d2aada;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87ca",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 288.358,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.1122,
    "h": 319.7
  },
  "luminance": 0.32411
}

Semantic roles & 50–950 ramp

primary
#BD87CA
secondary
#D0E1CB
accent
#B2344C
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141015
muted
#827F83

Preview Lab

Preview with #BD87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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