#BD87F1#BD87F1

#BD87F1 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.8% C 0.158 H 306.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BD87F1
RGBrgb(189, 135, 241)
HSLhsl(271, 79%, 74%)
HSVhsv(271, 44%, 95%)
CMYKcmyk(21.6%, 44%, 0%, 5.5%)
CIE-LABlab(65.36, 40.53, -45.65)
CIE-LCHlch(65.36, 61.05, 311.60°)
OKLaboklab(71.79% 0.0935 -0.1273)
OKLCHoklch(71.79% 0.158 306.3)
XYZxyz(45.5242, 34.4980, 87.4625)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F1 #BBF187
analogous
#8887F1 #BD87F1 #F187F0
triadic
#BD87F1 #F1BD87 #87F1BD
tetradic
#BD87F1 #F18887 #BBF187 #87F0F1
square
#BD87F1 #F18887 #BBF187 #87F0F1
split-complementary
#BD87F1 #F0F187 #87F188
monochromatic
#811AE3 #9F50EB #BD87F1 #DBBEF7 #F0E4FC

Accessibility & contrast

On white

2.66
#BD87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BD87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F1#FFFFFF#000000##000000
##BD87F11.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF5
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#B598B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f1;
/* rgb */ color: rgb(189, 135, 241);
/* oklch */ color: oklch(71.8% 0.158 306.3);
Tailwind
colors: {
  custom: {
    50: '#d3abf6',
    500: '#bd87f1',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f1;
$custom-light: #d3abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f1",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 270.566,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71785,
    "c": 0.15797,
    "h": 306.3
  },
  "luminance": 0.34498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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