#BF87F7#BF87F7

#BF87F7 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.166 H 305.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BF87F7
RGBrgb(191, 135, 247)
HSLhsl(270, 88%, 75%)
HSVhsv(270, 45%, 97%)
CMYKcmyk(22.7%, 45.3%, 0%, 3.1%)
CIE-LABlab(65.84, 42.44, -48.16)
CIE-LCHlch(65.84, 64.19, 311.38°)
OKLaboklab(72.29% 0.0968 -0.1345)
OKLCHoklch(72.29% 0.166 305.7)
XYZxyz(46.9349, 35.1200, 92.2839)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F7 #BFF787
analogous
#8787F7 #BF87F7 #F787F7
triadic
#BF87F7 #F7BF87 #87F7BF
tetradic
#BF87F7 #F78787 #BFF787 #87F7F7
square
#BF87F7 #F78787 #BFF787 #87F7F7
split-complementary
#BF87F7 #F7F787 #87F787
monochromatic
#8214EF #A04EF3 #BF87F7 #DEC0FB #F0E2FD

Accessibility & contrast

On white

2.62
#BF87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BF87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F7#FFFFFF#000000##000000
##BF87F71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#B69AB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf87f7;
/* rgb */ color: rgb(191, 135, 247);
/* oklch */ color: oklch(72.3% 0.166 305.7);
Tailwind
colors: {
  custom: {
    50: '#d4abfa',
    500: '#bf87f7',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f7;
$custom-light: #d4abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f7",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 270,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72289,
    "c": 0.16574,
    "h": 305.7
  },
  "luminance": 0.3512
}

Semantic roles & 50–950 ramp

primary
#BF87F7
secondary
#E6F5D6
accent
#E40173
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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