#BD87F4#BD87F4

#BD87F4 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.162 H 305.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BD87F4
RGBrgb(189, 135, 244)
HSLhsl(270, 83%, 74%)
HSVhsv(270, 45%, 96%)
CMYKcmyk(22.5%, 44.7%, 0%, 4.3%)
CIE-LABlab(65.50, 41.21, -47.07)
CIE-LCHlch(65.50, 62.56, 311.20°)
OKLaboklab(71.94% 0.094 -0.1314)
OKLCHoklch(71.94% 0.162 305.6)
XYZxyz(45.9760, 34.6787, 89.8420)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F4 #BEF487
analogous
#8788F4 #BD87F4 #F487F4
triadic
#BD87F4 #F4BD87 #87F4BD
tetradic
#BD87F4 #F48788 #BEF487 #87F4F4
square
#BD87F4 #F48788 #BEF487 #87F4F4
split-complementary
#BD87F4 #F4F487 #88F487
monochromatic
#7F17EA #9E4FEF #BD87F4 #DCBFF9 #F0E3FC

Accessibility & contrast

On white

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

On black

7.94
#BD87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F4#FFFFFF#000000##000000
##BD87F41.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#B499B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f4;
/* rgb */ color: rgb(189, 135, 244);
/* oklch */ color: oklch(71.9% 0.162 305.6);
Tailwind
colors: {
  custom: {
    50: '#d3abf8',
    500: '#bd87f4',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f4;
$custom-light: #d3abf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f4",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 269.725,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.16158,
    "h": 305.6
  },
  "luminance": 0.34678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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