#BD87FC#BD87FC

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

Color values

HEX#BD87FC
RGBrgb(189, 135, 252)
HSLhsl(268, 95%, 76%)
HSVhsv(268, 46%, 99%)
CMYKcmyk(25%, 46.4%, 0%, 1.2%)
CIE-LABlab(65.88, 43.04, -50.85)
CIE-LCHlch(65.88, 66.62, 310.25°)
OKLaboklab(72.35% 0.0951 -0.1424)
OKLCHoklch(72.35% 0.171 303.7)
XYZxyz(47.2171, 35.1752, 96.3786)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FC #C6FC87
analogous
#878BFC #BD87FC #F787FC
triadic
#BD87FC #FCBD87 #87FCBD
tetradic
#BD87FC #FC878B #C6FC87 #87FCF7
square
#BD87FC #FC878B #C6FC87 #87FCF7
split-complementary
#BD87FC #FCF787 #8BFC87
monochromatic
#7B10F9 #9C4BFB #BD87FC #DEC3FD #EFE1FE

Accessibility & contrast

On white

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

On black

8.04
#BD87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FC#FFFFFF#000000##000000
##BD87FC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#B29BB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87fc;
/* rgb */ color: rgb(189, 135, 252);
/* oklch */ color: oklch(72.4% 0.171 303.7);
Tailwind
colors: {
  custom: {
    50: '#d3abfe',
    500: '#bd87fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd87fc;
$custom-light: #d3abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87fc",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 267.692,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72354,
    "c": 0.17123,
    "h": 303.7
  },
  "luminance": 0.35175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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