#BD87F6#BD87F6

#BD87F6 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.164 H 305.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BD87F6
RGBrgb(189, 135, 246)
HSLhsl(269, 86%, 75%)
HSVhsv(269, 45%, 96%)
CMYKcmyk(23.2%, 45.1%, 0%, 3.5%)
CIE-LABlab(65.59, 41.67, -48.02)
CIE-LCHlch(65.59, 63.58, 310.95°)
OKLaboklab(72.04% 0.0943 -0.1342)
OKLCHoklch(72.04% 0.164 305.1)
XYZxyz(46.2813, 34.8008, 91.4500)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87F6 #C0F687
analogous
#8789F6 #BD87F6 #F587F6
triadic
#BD87F6 #F6BD87 #87F6BD
tetradic
#BD87F6 #F68789 #C0F687 #87F6F5
square
#BD87F6 #F68789 #C0F687 #87F6F5
split-complementary
#BD87F6 #F6F587 #89F687
monochromatic
#7E15ED #9E4EF2 #BD87F6 #DCC0FA #EFE3FD

Accessibility & contrast

On white

2.64
#BD87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BD87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87F6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87F6#FFFFFF#000000##000000
##BD87F61.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#77A0F3
Tritanopia (blue-blind)
#B49AB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bd87f6;
/* rgb */ color: rgb(189, 135, 246);
/* oklch */ color: oklch(72.0% 0.164 305.1);
Tailwind
colors: {
  custom: {
    50: '#d3abf9',
    500: '#bd87f6',
    950: '#000000',
  },
}
SCSS
$custom: #bd87f6;
$custom-light: #d3abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87f6",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 269.189,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72041,
    "c": 0.16399,
    "h": 305.1
  },
  "luminance": 0.34801
}

Semantic roles & 50–950 ramp

primary
#BD87F6
secondary
#E6F5D6
accent
#E30376
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BD87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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