#BD87DF#BD87DF

#BD87DF is a light, vivid violet. Relative luminance 0.335; OKLCH L 70.9% C 0.136 H 311.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BD87DF
RGBrgb(189, 135, 223)
HSLhsl(277, 58%, 70%)
HSVhsv(277, 39%, 87%)
CMYKcmyk(15.2%, 39.5%, 0%, 12.5%)
CIE-LABlab(64.54, 36.57, -36.97)
CIE-LCHlch(64.54, 52.00, 314.69°)
OKLaboklab(70.91% 0.0904 -0.1022)
OKLCHoklch(70.91% 0.136 311.5)
XYZxyz(42.9672, 33.4752, 73.9956)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87DF #A9DF87
analogous
#9187DF #BD87DF #DF87D5
triadic
#BD87DF #DFBD87 #87DFBD
tetradic
#BD87DF #DF9187 #A9DF87 #87D5DF
square
#BD87DF #DF9187 #A9DF87 #87D5DF
split-complementary
#BD87DF #D5DF87 #87DF91
monochromatic
#8532BA #A257D2 #BD87DF #D8B7EC #F2E7F9

Accessibility & contrast

On white

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

On black

7.69
#BD87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87DF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87DF#FFFFFF#000000##000000
##BD87DF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE2
Deuteranopia (green-blind)
#839EDC
Tritanopia (blue-blind)
#BA94A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bd87df;
/* rgb */ color: rgb(189, 135, 223);
/* oklch */ color: oklch(70.9% 0.136 311.5);
Tailwind
colors: {
  custom: {
    50: '#d2abe9',
    500: '#bd87df',
    950: '#000000',
  },
}
SCSS
$custom: #bd87df;
$custom-light: #d2abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87df",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 276.818,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70908,
    "c": 0.13644,
    "h": 311.5
  },
  "luminance": 0.33474
}

Semantic roles & 50–950 ramp

primary
#BD87DF
secondary
#DEEDD5
accent
#C52060
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BD87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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