#BF87F1#BF87F1

#BF87F1 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.159 H 307.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BF87F1
RGBrgb(191, 135, 241)
HSLhsl(272, 79%, 74%)
HSVhsv(272, 44%, 95%)
CMYKcmyk(20.7%, 44%, 0%, 5.5%)
CIE-LABlab(65.56, 41.09, -45.32)
CIE-LCHlch(65.56, 61.17, 312.20°)
OKLaboklab(71.98% 0.0959 -0.1263)
OKLCHoklch(71.98% 0.159 307.2)
XYZxyz(46.0239, 34.7556, 87.4860)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87F1 #B9F187
analogous
#8A87F1 #BF87F1 #F187EE
triadic
#BF87F1 #F1BF87 #87F1BF
tetradic
#BF87F1 #F18A87 #B9F187 #87EEF1
square
#BF87F1 #F18A87 #B9F187 #87EEF1
split-complementary
#BF87F1 #EEF187 #87F18A
monochromatic
#841AE3 #A250EB #BF87F1 #DCBEF7 #F0E4FC

Accessibility & contrast

On white

2.64
#BF87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BF87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87F1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87F1#FFFFFF#000000##000000
##BF87F11.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF5
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#B898B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf87f1;
/* rgb */ color: rgb(191, 135, 241);
/* oklch */ color: oklch(72.0% 0.159 307.2);
Tailwind
colors: {
  custom: {
    50: '#d4abf6',
    500: '#bf87f1',
    950: '#000000',
  },
}
SCSS
$custom: #bf87f1;
$custom-light: #d4abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87f1",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 271.698,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71983,
    "c": 0.15857,
    "h": 307.2
  },
  "luminance": 0.34755
}

Semantic roles & 50–950 ramp

primary
#BF87F1
secondary
#E5F4D7
accent
#DB0A6D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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