#BF87E7#BF87E7

#BF87E7 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.147 H 310.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BF87E7
RGBrgb(191, 135, 231)
HSLhsl(275, 67%, 72%)
HSVhsv(275, 42%, 91%)
CMYKcmyk(17.3%, 41.6%, 0%, 9.4%)
CIE-LABlab(65.10, 38.88, -40.52)
CIE-LCHlch(65.10, 56.16, 313.82°)
OKLaboklab(71.49% 0.0942 -0.1124)
OKLCHoklch(71.49% 0.147 310)
XYZxyz(44.5710, 34.1745, 79.8341)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87E7 #AFE787
analogous
#8F87E7 #BF87E7 #E787DF
triadic
#BF87E7 #E7BF87 #87E7BF
tetradic
#BF87E7 #E78F87 #AFE787 #87DFE7
square
#BF87E7 #E78F87 #AFE787 #87DFE7
split-complementary
#BF87E7 #DFE787 #87E78F
monochromatic
#8729CB #A454DD #BF87E7 #DABAF1 #F1E5FA

Accessibility & contrast

On white

2.68
#BF87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BF87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87E7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87E7#FFFFFF#000000##000000
##BF87E71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BEB
Deuteranopia (green-blind)
#819FE4
Tritanopia (blue-blind)
#BA95AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87e7;
/* rgb */ color: rgb(191, 135, 231);
/* oklch */ color: oklch(71.5% 0.147 310.0);
Tailwind
colors: {
  custom: {
    50: '#d4abef',
    500: '#bf87e7',
    950: '#000000',
  },
}
SCSS
$custom: #bf87e7;
$custom-light: #d4abef;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87e7",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 275,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.14668,
    "h": 310
  },
  "luminance": 0.34174
}

Semantic roles & 50–950 ramp

primary
#BF87E7
secondary
#E3F1D9
accent
#CF1763
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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