#BD87FE#BD87FE

#BD87FE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.174 H 303.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#BD87FE
RGBrgb(189, 135, 254)
HSLhsl(267, 98%, 76%)
HSVhsv(267, 47%, 100%)
CMYKcmyk(25.6%, 46.9%, 0%, 0.4%)
CIE-LABlab(65.98, 43.51, -51.79)
CIE-LCHlch(65.98, 67.64, 310.03°)
OKLaboklab(72.46% 0.0953 -0.1451)
OKLCHoklch(72.46% 0.174 303.3)
XYZxyz(47.5357, 35.3026, 98.0565)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FE #C8FE87
analogous
#878DFE #BD87FE #F987FE
triadic
#BD87FE #FEBD87 #87FEBD
tetradic
#BD87FE #FE878D #C8FE87 #87FEF9
square
#BD87FE #FE878D #C8FE87 #87FEF9
split-complementary
#BD87FE #FEF987 #8DFE87
monochromatic
#7A0EFD #9C4AFD #BD87FE #DEC4FF #EEE1FF

Accessibility & contrast

On white

2.61
#BD87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#BD87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FE#FFFFFF#000000##000000
##BD87FE1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#B29CB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87fe;
/* rgb */ color: rgb(189, 135, 254);
/* oklch */ color: oklch(72.5% 0.174 303.3);
Tailwind
colors: {
  custom: {
    50: '#d3abff',
    500: '#bd87fe',
    950: '#000000',
  },
}
SCSS
$custom: #bd87fe;
$custom-light: #d3abff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87fe",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 267.227,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.17364,
    "h": 303.3
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#BD87FE
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BD87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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