#BF87ED#BF87ED

#BF87ED is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.8% C 0.154 H 308.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BF87ED
RGBrgb(191, 135, 237)
HSLhsl(273, 74%, 73%)
HSVhsv(273, 43%, 93%)
CMYKcmyk(19.4%, 43%, 0%, 7.1%)
CIE-LABlab(65.37, 40.20, -43.40)
CIE-LCHlch(65.37, 59.16, 312.81°)
OKLaboklab(71.78% 0.0953 -0.1207)
OKLCHoklch(71.78% 0.154 308.3)
XYZxyz(45.4330, 34.5193, 84.3738)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87ED #B5ED87
analogous
#8C87ED #BF87ED #ED87E8
triadic
#BF87ED #EDBF87 #87EDBF
tetradic
#BF87ED #ED8C87 #B5ED87 #87E8ED
square
#BF87ED #ED8C87 #B5ED87 #87E8ED
split-complementary
#BF87ED #E8ED87 #87ED8C
monochromatic
#8621D9 #A352E5 #BF87ED #DBBCF5 #F1E4FB

Accessibility & contrast

On white

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

On black

7.90
#BF87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87ED
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87ED#FFFFFF#000000##000000
##BF87ED1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#B997AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf87ed;
/* rgb */ color: rgb(191, 135, 237);
/* oklch */ color: oklch(71.8% 0.154 308.3);
Tailwind
colors: {
  custom: {
    50: '#d4abf3',
    500: '#bf87ed',
    950: '#000000',
  },
}
SCSS
$custom: #bf87ed;
$custom-light: #d4abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87ed",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 272.941,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71783,
    "c": 0.1538,
    "h": 308.3
  },
  "luminance": 0.34519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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