#BC87E5#BC87E5

#BC87E5 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.143 H 309.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BC87E5
RGBrgb(188, 135, 229)
HSLhsl(274, 64%, 71%)
HSVhsv(274, 41%, 90%)
CMYKcmyk(17.9%, 41%, 0%, 10.2%)
CIE-LABlab(64.71, 37.58, -40.05)
CIE-LCHlch(64.71, 54.92, 313.18°)
OKLaboklab(71.09% 0.0903 -0.1111)
OKLCHoklch(71.09% 0.143 309.1)
XYZxyz(43.5432, 33.6770, 78.3200)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87E5 #B0E587
analogous
#8D87E5 #BC87E5 #E587DF
triadic
#BC87E5 #E5BC87 #87E5BC
tetradic
#BC87E5 #E58D87 #B0E587 #87DFE5
square
#BC87E5 #E58D87 #B0E587 #87DFE5
split-complementary
#BC87E5 #DFE587 #87E58D
monochromatic
#832BC7 #A055DA #BC87E5 #D8B9F0 #F1E6FA

Accessibility & contrast

On white

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

On black

7.74
#BC87E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87E5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87E5#FFFFFF#000000##000000
##BC87E51.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE8
Deuteranopia (green-blind)
#809EE2
Tritanopia (blue-blind)
#B795AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bc87e5;
/* rgb */ color: rgb(188, 135, 229);
/* oklch */ color: oklch(71.1% 0.143 309.1);
Tailwind
colors: {
  custom: {
    50: '#d2abed',
    500: '#bc87e5',
    950: '#000000',
  },
}
SCSS
$custom: #bc87e5;
$custom-light: #d2abed;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87e5",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 273.83,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.14321,
    "h": 309.1
  },
  "luminance": 0.33676
}

Semantic roles & 50–950 ramp

primary
#BC87E5
secondary
#E2F0D8
accent
#CC1967
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BC87E5

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

Preview Lab → · Contrast checker → · Palette generator →

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