#BC87EF#BC87EF

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

Color values

HEX#BC87EF
RGBrgb(188, 135, 239)
HSLhsl(271, 76%, 73%)
HSVhsv(271, 44%, 94%)
CMYKcmyk(21.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.16, 39.80, -44.86)
CIE-LCHlch(65.16, 59.97, 311.58°)
OKLaboklab(71.59% 0.0921 -0.125)
OKLCHoklch(71.59% 0.155 306.4)
XYZxyz(44.9799, 34.2517, 85.8863)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87EF #BAEF87
analogous
#8887EF #BC87EF #EF87EE
triadic
#BC87EF #EFBC87 #87EFBC
tetradic
#BC87EF #EF8887 #BAEF87 #87EEEF
square
#BC87EF #EF8887 #BAEF87 #87EEEF
split-complementary
#BC87EF #EEEF87 #87EF88
monochromatic
#801EDE #9E51E8 #BC87EF #DABDF6 #F0E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC87EF#FFFFFF#000000##000000
##BC87EF1.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)
#6E9CF3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#B498B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc87ef;
/* rgb */ color: rgb(188, 135, 239);
/* oklch */ color: oklch(71.6% 0.155 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2abf4',
    500: '#bc87ef',
    950: '#000000',
  },
}
SCSS
$custom: #bc87ef;
$custom-light: #d2abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87ef",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 270.577,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.15525,
    "h": 306.4
  },
  "luminance": 0.34251
}

Semantic roles & 50–950 ramp

primary
#BC87EF
secondary
#E5F3D8
accent
#D90D71
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BC87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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