#BD87FD#BD87FD

#BD87FD is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.4% C 0.172 H 303.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BD87FD
RGBrgb(189, 135, 253)
HSLhsl(267, 97%, 76%)
HSVhsv(267, 47%, 99%)
CMYKcmyk(25.3%, 46.6%, 0%, 0.8%)
CIE-LABlab(65.93, 43.28, -51.32)
CIE-LCHlch(65.93, 67.13, 310.14°)
OKLaboklab(72.41% 0.0952 -0.1438)
OKLCHoklch(72.41% 0.172 303.5)
XYZxyz(47.3760, 35.2387, 97.2153)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FD #C7FD87
analogous
#878CFD #BD87FD #F887FD
triadic
#BD87FD #FDBD87 #87FDBD
tetradic
#BD87FD #FD878C #C7FD87 #87FDF8
square
#BD87FD #FD878C #C7FD87 #87FDF8
split-complementary
#BD87FD #FDF887 #8CFD87
monochromatic
#7B0FFB #9C4BFC #BD87FD #DEC3FE #EEE1FE

Accessibility & contrast

On white

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

On black

8.05
#BD87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FD#FFFFFF#000000##000000
##BD87FD1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#B29CB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87fd;
/* rgb */ color: rgb(189, 135, 253);
/* oklch */ color: oklch(72.4% 0.172 303.5);
Tailwind
colors: {
  custom: {
    50: '#d3abfe',
    500: '#bd87fd',
    950: '#000000',
  },
}
SCSS
$custom: #bd87fd;
$custom-light: #d3abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87fd",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 267.458,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72407,
    "c": 0.17243,
    "h": 303.5
  },
  "luminance": 0.35239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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