#BF87F6#BF87F6

#BF87F6 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.165 H 306.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BF87F6
RGBrgb(191, 135, 246)
HSLhsl(270, 86%, 75%)
HSVhsv(270, 45%, 96%)
CMYKcmyk(22.4%, 45.1%, 0%, 3.5%)
CIE-LABlab(65.79, 42.21, -47.69)
CIE-LCHlch(65.79, 63.69, 311.51°)
OKLaboklab(72.24% 0.0966 -0.1332)
OKLCHoklch(72.24% 0.165 306)
XYZxyz(46.7810, 35.0585, 91.4734)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F6 #BEF687
analogous
#8787F6 #BF87F6 #F687F6
triadic
#BF87F6 #F6BF87 #87F6BF
tetradic
#BF87F6 #F68787 #BEF687 #87F6F6
square
#BF87F6 #F68787 #BEF687 #87F6F6
split-complementary
#BF87F6 #F6F687 #87F687
monochromatic
#8215ED #A14EF2 #BF87F6 #DDC0FA #F0E3FD

Accessibility & contrast

On white

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

On black

8.01
#BF87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F6
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F6#FFFFFF#000000##000000
##BF87F61.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#B799B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf87f6;
/* rgb */ color: rgb(191, 135, 246);
/* oklch */ color: oklch(72.2% 0.165 306.0);
Tailwind
colors: {
  custom: {
    50: '#d4abf9',
    500: '#bf87f6',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f6;
$custom-light: #d4abf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f6",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 270.27,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72237,
    "c": 0.16454,
    "h": 306
  },
  "luminance": 0.35058
}

Semantic roles & 50–950 ramp

primary
#BF87F6
secondary
#E5F5D6
accent
#E30372
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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