#BF87E9#BF87E9

#BF87E9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.149 H 309.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BF87E9
RGBrgb(191, 135, 233)
HSLhsl(274, 69%, 72%)
HSVhsv(274, 42%, 91%)
CMYKcmyk(18%, 42.1%, 0%, 8.6%)
CIE-LABlab(65.19, 39.32, -41.48)
CIE-LCHlch(65.19, 57.16, 313.47°)
OKLaboklab(71.59% 0.0946 -0.1152)
OKLCHoklch(71.59% 0.149 309.4)
XYZxyz(44.8551, 34.2881, 81.3303)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87E9 #B1E987
analogous
#8E87E9 #BF87E9 #E987E2
triadic
#BF87E9 #E9BF87 #87E9BF
tetradic
#BF87E9 #E98E87 #B1E987 #87E2E9
square
#BF87E9 #E98E87 #B1E987 #87E2E9
split-complementary
#BF87E9 #E2E987 #87E98E
monochromatic
#8726D0 #A353E0 #BF87E9 #DBBBF2 #F1E5FA

Accessibility & contrast

On white

2.67
#BF87E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BF87E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87E9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87E9#FFFFFF#000000##000000
##BF87E91.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CED
Deuteranopia (green-blind)
#809FE6
Tritanopia (blue-blind)
#BA96AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87e9;
/* rgb */ color: rgb(191, 135, 233);
/* oklch */ color: oklch(71.6% 0.149 309.4);
Tailwind
colors: {
  custom: {
    50: '#d4abf0',
    500: '#bf87e9',
    950: '#000000',
  },
}
SCSS
$custom: #bf87e9;
$custom-light: #d4abf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87e9",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 274.286,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.14905,
    "h": 309.4
  },
  "luminance": 0.34288
}

Semantic roles & 50–950 ramp

primary
#BF87E9
secondary
#E4F2D9
accent
#D11565
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87E9

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

Preview Lab → · Contrast checker → · Palette generator →

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