#BF87E8#BF87E8

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

Color values

HEX#BF87E8
RGBrgb(191, 135, 232)
HSLhsl(275, 68%, 72%)
HSVhsv(275, 42%, 91%)
CMYKcmyk(17.7%, 41.8%, 0%, 9%)
CIE-LABlab(65.15, 39.10, -41.00)
CIE-LCHlch(65.15, 56.66, 313.64°)
OKLaboklab(71.54% 0.0944 -0.1138)
OKLCHoklch(71.54% 0.148 309.7)
XYZxyz(44.7126, 34.2311, 80.5801)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF87E8 #B0E887
analogous
#8F87E8 #BF87E8 #E887E1
triadic
#BF87E8 #E8BF87 #87E8BF
tetradic
#BF87E8 #E88F87 #B0E887 #87E1E8
square
#BF87E8 #E88F87 #B0E887 #87E1E8
split-complementary
#BF87E8 #E1E887 #87E88F
monochromatic
#8727CD #A454DE #BF87E8 #DABAF2 #F1E5FA

Accessibility & contrast

On white

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

On black

7.85
#BF87E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF87E8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF87E8#FFFFFF#000000##000000
##BF87E81.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#BA96AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bf87e8;
/* rgb */ color: rgb(191, 135, 232);
/* oklch */ color: oklch(71.5% 0.148 309.7);
Tailwind
colors: {
  custom: {
    50: '#d4abef',
    500: '#bf87e8',
    950: '#000000',
  },
}
SCSS
$custom: #bf87e8;
$custom-light: #d4abef;
$custom-dark: #000000;
JSON
{
  "hex": "#bf87e8",
  "rgb": {
    "r": 191,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 274.639,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.14787,
    "h": 309.7
  },
  "luminance": 0.34231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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