#BF87DF#BF87DF

#BF87DF is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.137 H 312.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#BF87DF
RGBrgb(191, 135, 223)
HSLhsl(278, 58%, 70%)
HSVhsv(278, 39%, 87%)
CMYKcmyk(14.3%, 39.5%, 0%, 12.5%)
CIE-LABlab(64.75, 37.16, -36.63)
CIE-LCHlch(64.75, 52.18, 315.41°)
OKLaboklab(71.11% 0.0927 -0.1012)
OKLCHoklch(71.11% 0.137 312.5)
XYZxyz(43.4669, 33.7328, 74.0190)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87DF #A7DF87
analogous
#9387DF #BF87DF #DF87D3
triadic
#BF87DF #DFBF87 #87DFBF
tetradic
#BF87DF #DF9387 #A7DF87 #87D3DF
square
#BF87DF #DF9387 #A7DF87 #87D3DF
split-complementary
#BF87DF #D3DF87 #87DF93
monochromatic
#8832BA #A557D2 #BF87DF #D9B7EC #F2E7F9

Accessibility & contrast

On white

2.71
#BF87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#BF87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87DF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87DF#FFFFFF#000000##000000
##BF87DF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#849EDC
Tritanopia (blue-blind)
#BC93A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bf87df;
/* rgb */ color: rgb(191, 135, 223);
/* oklch */ color: oklch(71.1% 0.137 312.5);
Tailwind
colors: {
  custom: {
    50: '#d3abe9',
    500: '#bf87df',
    950: '#000000',
  },
}
SCSS
$custom: #bf87df;
$custom-light: #d3abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87df",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 278.182,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.13726,
    "h": 312.5
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#BF87DF
secondary
#DEEDD5
accent
#C5205C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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