#BC87E4#BC87E4

#BC87E4 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.142 H 309.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#BC87E4
RGBrgb(188, 135, 228)
HSLhsl(274, 63%, 71%)
HSVhsv(274, 41%, 89%)
CMYKcmyk(17.5%, 40.8%, 0%, 10.6%)
CIE-LABlab(64.66, 37.36, -39.57)
CIE-LCHlch(64.66, 54.42, 313.36°)
OKLaboklab(71.05% 0.0902 -0.1097)
OKLCHoklch(71.05% 0.142 309.4)
XYZxyz(43.4040, 33.6213, 77.5868)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87E4 #AFE487
analogous
#8D87E4 #BC87E4 #E487DD
triadic
#BC87E4 #E4BC87 #87E4BC
tetradic
#BC87E4 #E48D87 #AFE487 #87DDE4
square
#BC87E4 #E48D87 #AFE487 #87DDE4
split-complementary
#BC87E4 #DDE487 #87E48D
monochromatic
#832CC4 #A055D9 #BC87E4 #D8B9EF #F1E6F9

Accessibility & contrast

On white

2.72
#BC87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#BC87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87E4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87E4#FFFFFF#000000##000000
##BC87E41.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc87e4;
/* rgb */ color: rgb(188, 135, 228);
/* oklch */ color: oklch(71.0% 0.142 309.4);
Tailwind
colors: {
  custom: {
    50: '#d1abed',
    500: '#bc87e4',
    950: '#000000',
  },
}
SCSS
$custom: #bc87e4;
$custom-light: #d1abed;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87e4",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 274.194,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.14202,
    "h": 309.4
  },
  "luminance": 0.33621
}

Semantic roles & 50–950 ramp

primary
#BC87E4
secondary
#E2F0D7
accent
#CB1A66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BC87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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