#BF87EF#BF87EF

#BF87EF is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.9% C 0.156 H 307.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#BF87EF
RGBrgb(191, 135, 239)
HSLhsl(272, 76%, 73%)
HSVhsv(272, 44%, 94%)
CMYKcmyk(20.1%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.46, 40.64, -44.36)
CIE-LCHlch(65.46, 60.16, 312.50°)
OKLaboklab(71.88% 0.0956 -0.1235)
OKLCHoklch(71.88% 0.156 307.7)
XYZxyz(45.7268, 34.6368, 85.9213)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87EF #B7EF87
analogous
#8B87EF #BF87EF #EF87EB
triadic
#BF87EF #EFBF87 #87EFBF
tetradic
#BF87EF #EF8B87 #B7EF87 #87EBEF
square
#BF87EF #EF8B87 #B7EF87 #87EBEF
split-complementary
#BF87EF #EBEF87 #87EF8B
monochromatic
#851EDE #A251E8 #BF87EF #DCBDF6 #F1E4FB

Accessibility & contrast

On white

2.65
#BF87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#BF87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87EF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87EF#FFFFFF#000000##000000
##BF87EF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7CA0EC
Tritanopia (blue-blind)
#B898B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf87ef;
/* rgb */ color: rgb(191, 135, 239);
/* oklch */ color: oklch(71.9% 0.156 307.7);
Tailwind
colors: {
  custom: {
    50: '#d4abf4',
    500: '#bf87ef',
    950: '#000000',
  },
}
SCSS
$custom: #bf87ef;
$custom-light: #d4abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87ef",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 272.308,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.15619,
    "h": 307.7
  },
  "luminance": 0.34636
}

Semantic roles & 50–950 ramp

primary
#BF87EF
secondary
#E4F3D8
accent
#D90D6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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