#BD87FF#BD87FF

#BD87FF is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.5% C 0.175 H 303.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#BD87FF
RGBrgb(189, 135, 255)
HSLhsl(267, 100%, 76%)
HSVhsv(267, 47%, 100%)
CMYKcmyk(25.9%, 47.1%, 0%, 0%)
CIE-LABlab(66.03, 43.74, -52.26)
CIE-LCHlch(66.03, 68.14, 309.93°)
OKLaboklab(72.51% 0.0954 -0.1465)
OKLCHoklch(72.51% 0.175 303.1)
XYZxyz(47.6963, 35.3668, 98.9021)
Luminance0.3537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD87FF #C9FF87
analogous
#878DFF #BD87FF #F987FF
triadic
#BD87FF #FFBD87 #87FFBD
tetradic
#BD87FF #FF878D #C9FF87 #87FFF9
square
#BD87FF #FF878D #C9FF87 #87FFF9
split-complementary
#BD87FF #FFF987 #8DFF87
monochromatic
#7A0DFF #9B4AFF #BD87FF #DFC4FF #EEE0FF

Accessibility & contrast

On white

2.60
#BD87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#BD87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD87FF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD87FF#FFFFFF#000000##000000
##BD87FF1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#72A0FC
Tritanopia (blue-blind)
#B19CB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bd87ff;
/* rgb */ color: rgb(189, 135, 255);
/* oklch */ color: oklch(72.5% 0.175 303.1);
Tailwind
colors: {
  custom: {
    50: '#d3abff',
    500: '#bd87ff',
    950: '#000000',
  },
}
SCSS
$custom: #bd87ff;
$custom-light: #d3abff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd87ff",
  "rgb": {
    "r": 189,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 267,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.17484,
    "h": 303.1
  },
  "luminance": 0.35367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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