#BC87E2#BC87E2

#BC87E2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.0% C 0.140 H 310.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#BC87E2
RGBrgb(188, 135, 226)
HSLhsl(275, 61%, 71%)
HSVhsv(275, 40%, 89%)
CMYKcmyk(16.8%, 40.3%, 0%, 11.4%)
CIE-LABlab(64.57, 36.92, -38.60)
CIE-LCHlch(64.57, 53.41, 313.73°)
OKLaboklab(70.95% 0.0898 -0.1069)
OKLCHoklch(70.95% 0.14 310)
XYZxyz(43.1280, 33.5109, 76.1330)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87E2 #ADE287
analogous
#8E87E2 #BC87E2 #E287DA
triadic
#BC87E2 #E2BC87 #87E2BC
tetradic
#BC87E2 #E28E87 #ADE287 #87DAE2
square
#BC87E2 #E28E87 #ADE287 #87DAE2
split-complementary
#BC87E2 #DAE287 #87E28E
monochromatic
#832EC0 #A056D6 #BC87E2 #D8B8EE #F1E6F9

Accessibility & contrast

On white

2.73
#BC87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#BC87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87E2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87E2#FFFFFF#000000##000000
##BC87E21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE5
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#B895AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bc87e2;
/* rgb */ color: rgb(188, 135, 226);
/* oklch */ color: oklch(71.0% 0.140 310.0);
Tailwind
colors: {
  custom: {
    50: '#d1abeb',
    500: '#bc87e2',
    950: '#000000',
  },
}
SCSS
$custom: #bc87e2;
$custom-light: #d1abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87e2",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 274.945,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.13962,
    "h": 310
  },
  "luminance": 0.3351
}

Semantic roles & 50–950 ramp

primary
#BC87E2
secondary
#E0EFD6
accent
#C91D65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BC87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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