#BF87E5#BF87E5

#BF87E5 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.4% C 0.144 H 310.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BF87E5
RGBrgb(191, 135, 229)
HSLhsl(276, 64%, 71%)
HSVhsv(276, 41%, 90%)
CMYKcmyk(16.6%, 41%, 0%, 10.2%)
CIE-LABlab(65.01, 38.45, -39.55)
CIE-LCHlch(65.01, 55.16, 314.19°)
OKLaboklab(71.39% 0.0939 -0.1096)
OKLCHoklch(71.39% 0.144 310.6)
XYZxyz(44.2901, 34.0621, 78.3550)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87E5 #ADE587
analogous
#9087E5 #BF87E5 #E587DC
triadic
#BF87E5 #E5BF87 #87E5BF
tetradic
#BF87E5 #E59087 #ADE587 #87DCE5
square
#BF87E5 #E59087 #ADE587 #87DCE5
split-complementary
#BF87E5 #DCE587 #87E590
monochromatic
#882BC7 #A455DA #BF87E5 #DAB9F0 #F2E6FA

Accessibility & contrast

On white

2.69
#BF87E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BF87E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87E5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87E5#FFFFFF#000000##000000
##BF87E51.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#819FE2
Tritanopia (blue-blind)
#BB95AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87e5;
/* rgb */ color: rgb(191, 135, 229);
/* oklch */ color: oklch(71.4% 0.144 310.6);
Tailwind
colors: {
  custom: {
    50: '#d4abed',
    500: '#bf87e5',
    950: '#000000',
  },
}
SCSS
$custom: #bf87e5;
$custom-light: #d4abed;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87e5",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 275.745,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71394,
    "c": 0.14431,
    "h": 310.6
  },
  "luminance": 0.34061
}

Semantic roles & 50–950 ramp

primary
#BF87E5
secondary
#E2F0D8
accent
#CC1962
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87E5

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

Preview Lab → · Contrast checker → · Palette generator →

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