#BD87F2#BD87F2

#BD87F2 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.8% C 0.159 H 306.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BD87F2
RGBrgb(189, 135, 242)
HSLhsl(270, 80%, 74%)
HSVhsv(270, 44%, 95%)
CMYKcmyk(21.9%, 44.2%, 0%, 5.1%)
CIE-LABlab(65.40, 40.76, -46.12)
CIE-LCHlch(65.40, 61.55, 311.47°)
OKLaboklab(71.84% 0.0937 -0.1287)
OKLCHoklch(71.84% 0.159 306.1)
XYZxyz(45.6740, 34.5579, 88.2514)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F2 #BCF287
analogous
#8887F2 #BD87F2 #F287F2
triadic
#BD87F2 #F2BD87 #87F2BD
tetradic
#BD87F2 #F28887 #BCF287 #87F2F2
square
#BD87F2 #F28887 #BCF287 #87F2F2
split-complementary
#BD87F2 #F2F287 #87F288
monochromatic
#8019E6 #9F50EC #BD87F2 #DBBEF8 #F0E3FC

Accessibility & contrast

On white

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

On black

7.91
#BD87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F2#FFFFFF#000000##000000
##BD87F21.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#B599B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f2;
/* rgb */ color: rgb(189, 135, 242);
/* oklch */ color: oklch(71.8% 0.159 306.1);
Tailwind
colors: {
  custom: {
    50: '#d3abf7',
    500: '#bd87f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f2;
$custom-light: #d3abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f2",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 270.28,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.15917,
    "h": 306.1
  },
  "luminance": 0.34558
}

Semantic roles & 50–950 ramp

primary
#BD87F2
secondary
#E5F4D7
accent
#DD0972
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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