#BF87E2#BF87E2

#BF87E2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.141 H 311.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#BF87E2
RGBrgb(191, 135, 226)
HSLhsl(277, 61%, 71%)
HSVhsv(277, 40%, 89%)
CMYKcmyk(15.5%, 40.3%, 0%, 11.4%)
CIE-LABlab(64.88, 37.80, -38.09)
CIE-LCHlch(64.88, 53.67, 314.78°)
OKLaboklab(71.25% 0.0933 -0.1054)
OKLCHoklch(71.25% 0.141 311.5)
XYZxyz(43.8749, 33.8960, 76.1680)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87E2 #AAE287
analogous
#9187E2 #BF87E2 #E287D7
triadic
#BF87E2 #E2BF87 #87E2BF
tetradic
#BF87E2 #E29187 #AAE287 #87D7E2
square
#BF87E2 #E29187 #AAE287 #87D7E2
split-complementary
#BF87E2 #D7E287 #87E291
monochromatic
#882EC0 #A556D6 #BF87E2 #D9B8EE #F2E6F9

Accessibility & contrast

On white

2.70
#BF87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#BF87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87E2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87E2#FFFFFF#000000##000000
##BF87E21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE5
Deuteranopia (green-blind)
#839FDF
Tritanopia (blue-blind)
#BB94AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bf87e2;
/* rgb */ color: rgb(191, 135, 226);
/* oklch */ color: oklch(71.3% 0.141 311.5);
Tailwind
colors: {
  custom: {
    50: '#d4abeb',
    500: '#bf87e2',
    950: '#000000',
  },
}
SCSS
$custom: #bf87e2;
$custom-light: #d4abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87e2",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 276.923,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71251,
    "c": 0.14078,
    "h": 311.5
  },
  "luminance": 0.33895
}

Semantic roles & 50–950 ramp

primary
#BF87E2
secondary
#E0EFD6
accent
#C91D5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BF87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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