#BC87E7#BC87E7

#BC87E7 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.2% C 0.146 H 308.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#BC87E7
RGBrgb(188, 135, 231)
HSLhsl(273, 67%, 72%)
HSVhsv(273, 42%, 91%)
CMYKcmyk(18.6%, 41.6%, 0%, 9.4%)
CIE-LABlab(64.80, 38.02, -41.02)
CIE-LCHlch(64.80, 55.93, 312.83°)
OKLaboklab(71.19% 0.0907 -0.1139)
OKLCHoklch(71.19% 0.146 308.5)
XYZxyz(43.8241, 33.7893, 79.7991)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87E7 #B2E787
analogous
#8C87E7 #BC87E7 #E787E2
triadic
#BC87E7 #E7BC87 #87E7BC
tetradic
#BC87E7 #E78C87 #B2E787 #87E2E7
square
#BC87E7 #E78C87 #B2E787 #87E2E7
split-complementary
#BC87E7 #E2E787 #87E78C
monochromatic
#8229CB #A054DD #BC87E7 #D8BAF1 #F1E5FA

Accessibility & contrast

On white

2.71
#BC87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#BC87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87E7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87E7#FFFFFF#000000##000000
##BC87E71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#B696AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bc87e7;
/* rgb */ color: rgb(188, 135, 231);
/* oklch */ color: oklch(71.2% 0.146 308.5);
Tailwind
colors: {
  custom: {
    50: '#d2abef',
    500: '#bc87e7',
    950: '#000000',
  },
}
SCSS
$custom: #bc87e7;
$custom-light: #d2abef;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87e7",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 273.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7119,
    "c": 0.14562,
    "h": 308.5
  },
  "luminance": 0.33789
}

Semantic roles & 50–950 ramp

primary
#BC87E7
secondary
#E4F1D9
accent
#CF1769
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BC87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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