#BF87EB#BF87EB

#BF87EB is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.151 H 308.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BF87EB
RGBrgb(191, 135, 235)
HSLhsl(274, 71%, 73%)
HSVhsv(274, 43%, 92%)
CMYKcmyk(18.7%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.28, 39.76, -42.44)
CIE-LCHlch(65.28, 58.16, 313.13°)
OKLaboklab(71.69% 0.0949 -0.118)
OKLCHoklch(71.69% 0.151 308.8)
XYZxyz(45.1424, 34.4030, 82.8435)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87EB #B3EB87
analogous
#8D87EB #BF87EB #EB87E5
triadic
#BF87EB #EBBF87 #87EBBF
tetradic
#BF87EB #EB8D87 #B3EB87 #87E5EB
square
#BF87EB #EB8D87 #B3EB87 #87E5EB
split-complementary
#BF87EB #E5EB87 #87EB8D
monochromatic
#8623D4 #A353E2 #BF87EB #DBBBF4 #F1E5FB

Accessibility & contrast

On white

2.66
#BF87EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BF87EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87EB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87EB#FFFFFF#000000##000000
##BF87EB1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#B997AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87eb;
/* rgb */ color: rgb(191, 135, 235);
/* oklch */ color: oklch(71.7% 0.151 308.8);
Tailwind
colors: {
  custom: {
    50: '#d4abf2',
    500: '#bf87eb',
    950: '#000000',
  },
}
SCSS
$custom: #bf87eb;
$custom-light: #d4abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87eb",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 273.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71685,
    "c": 0.15143,
    "h": 308.8
  },
  "luminance": 0.34402
}

Semantic roles & 50–950 ramp

primary
#BF87EB
secondary
#E4F2D9
accent
#D31267
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BF87EB

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

Preview Lab → · Contrast checker → · Palette generator →

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