#BC87EC#BC87EC

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

Color values

HEX#BC87EC
RGBrgb(188, 135, 236)
HSLhsl(271, 73%, 73%)
HSVhsv(271, 43%, 93%)
CMYKcmyk(20.3%, 42.8%, 0%, 7.5%)
CIE-LABlab(65.02, 39.13, -43.42)
CIE-LCHlch(65.02, 58.45, 312.02°)
OKLaboklab(71.44% 0.0916 -0.1209)
OKLCHoklch(71.44% 0.152 307.1)
XYZxyz(44.5403, 34.0759, 83.5715)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87EC #B7EC87
analogous
#8987EC #BC87EC #EC87EA
triadic
#BC87EC #ECBC87 #87ECBC
tetradic
#BC87EC #EC8987 #B7EC87 #87EAEC
square
#BC87EC #EC8987 #B7EC87 #87EAEC
split-complementary
#BC87EC #EAEC87 #87EC89
monochromatic
#8122D7 #9F52E4 #BC87EC #D9BCF4 #F0E5FB

Accessibility & contrast

On white

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

On black

7.82
#BC87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87EC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87EC#FFFFFF#000000##000000
##BC87EC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#B597AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc87ec;
/* rgb */ color: rgb(188, 135, 236);
/* oklch */ color: oklch(71.4% 0.152 307.1);
Tailwind
colors: {
  custom: {
    50: '#d2abf2',
    500: '#bc87ec',
    950: '#000000',
  },
}
SCSS
$custom: #bc87ec;
$custom-light: #d2abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87ec",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 271.485,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.15164,
    "h": 307.1
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#BC87EC
secondary
#E5F2D9
accent
#D5116E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BC87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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