#BC87EA#BC87EA

#BC87EA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.149 H 307.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#BC87EA
RGBrgb(188, 135, 234)
HSLhsl(272, 70%, 72%)
HSVhsv(272, 42%, 92%)
CMYKcmyk(19.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(64.93, 38.68, -42.46)
CIE-LCHlch(64.93, 57.44, 312.33°)
OKLaboklab(71.34% 0.0912 -0.1181)
OKLCHoklch(71.34% 0.149 307.7)
XYZxyz(44.2514, 33.9603, 82.0497)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87EA #B5EA87
analogous
#8A87EA #BC87EA #EA87E7
triadic
#BC87EA #EABC87 #87EABC
tetradic
#BC87EA #EA8A87 #B5EA87 #87E7EA
square
#BC87EA #EA8A87 #B5EA87 #87E7EA
split-complementary
#BC87EA #E7EA87 #87EA8A
monochromatic
#8125D2 #9F53E1 #BC87EA #D9BBF3 #F0E5FA

Accessibility & contrast

On white

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

On black

7.79
#BC87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87EA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87EA#FFFFFF#000000##000000
##BC87EA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#B697AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc87ea;
/* rgb */ color: rgb(188, 135, 234);
/* oklch */ color: oklch(71.3% 0.149 307.7);
Tailwind
colors: {
  custom: {
    50: '#d2abf1',
    500: '#bc87ea',
    950: '#000000',
  },
}
SCSS
$custom: #bc87ea;
$custom-light: #d2abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87ea",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 272.121,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.14923,
    "h": 307.7
  },
  "luminance": 0.3396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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