#BF87EC#BF87EC

#BF87EC is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.153 H 308.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BF87EC
RGBrgb(191, 135, 236)
HSLhsl(273, 73%, 73%)
HSVhsv(273, 43%, 93%)
CMYKcmyk(19.1%, 42.8%, 0%, 7.5%)
CIE-LABlab(65.33, 39.98, -42.92)
CIE-LCHlch(65.33, 58.66, 312.97°)
OKLaboklab(71.73% 0.0951 -0.1194)
OKLCHoklch(71.73% 0.153 308.5)
XYZxyz(45.2873, 34.4610, 83.6065)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87EC #B4EC87
analogous
#8C87EC #BF87EC #EC87E7
triadic
#BF87EC #ECBF87 #87ECBF
tetradic
#BF87EC #EC8C87 #B4EC87 #87E7EC
square
#BF87EC #EC8C87 #B4EC87 #87E7EC
split-complementary
#BF87EC #E7EC87 #87EC8C
monochromatic
#8622D7 #A352E4 #BF87EC #DBBCF4 #F1E5FB

Accessibility & contrast

On white

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

On black

7.89
#BF87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87EC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87EC#FFFFFF#000000##000000
##BF87EC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#B997AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf87ec;
/* rgb */ color: rgb(191, 135, 236);
/* oklch */ color: oklch(71.7% 0.153 308.5);
Tailwind
colors: {
  custom: {
    50: '#d4abf2',
    500: '#bf87ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf87ec;
$custom-light: #d4abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87ec",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 273.267,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.15262,
    "h": 308.5
  },
  "luminance": 0.3446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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