#BD87F3#BD87F3

#BD87F3 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.160 H 305.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#BD87F3
RGBrgb(189, 135, 243)
HSLhsl(270, 82%, 74%)
HSVhsv(270, 44%, 95%)
CMYKcmyk(22.2%, 44.4%, 0%, 4.7%)
CIE-LABlab(65.45, 40.99, -46.60)
CIE-LCHlch(65.45, 62.06, 311.33°)
OKLaboklab(71.89% 0.0939 -0.13)
OKLCHoklch(71.89% 0.16 305.8)
XYZxyz(45.8246, 34.6181, 89.0445)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F3 #BDF387
analogous
#8787F3 #BD87F3 #F387F3
triadic
#BD87F3 #F3BD87 #87F3BD
tetradic
#BD87F3 #F38787 #BDF387 #87F3F3
square
#BD87F3 #F38787 #BDF387 #87F3F3
split-complementary
#BD87F3 #F3F387 #87F387
monochromatic
#8018E8 #9E4FED #BD87F3 #DCBFF9 #F0E3FC

Accessibility & contrast

On white

2.65
#BD87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#BD87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F3#FFFFFF#000000##000000
##BD87F31.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#B599B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f3;
/* rgb */ color: rgb(189, 135, 243);
/* oklch */ color: oklch(71.9% 0.160 305.8);
Tailwind
colors: {
  custom: {
    50: '#d3abf7',
    500: '#bd87f3',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f3;
$custom-light: #d3abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f3",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 270,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71887,
    "c": 0.16038,
    "h": 305.8
  },
  "luminance": 0.34618
}

Semantic roles & 50–950 ramp

primary
#BD87F3
secondary
#E6F4D7
accent
#DE0773
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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