#BC87FE#BC87FE

#BC87FE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.4% C 0.173 H 302.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#BC87FE
RGBrgb(188, 135, 254)
HSLhsl(267, 98%, 76%)
HSVhsv(267, 47%, 100%)
CMYKcmyk(26%, 46.9%, 0%, 0.4%)
CIE-LABlab(65.88, 43.24, -51.95)
CIE-LCHlch(65.88, 67.59, 309.77°)
OKLaboklab(72.36% 0.0941 -0.1456)
OKLCHoklch(72.36% 0.173 302.9)
XYZxyz(47.2885, 35.1751, 98.0449)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87FE #C9FE87
analogous
#878EFE #BC87FE #F887FE
triadic
#BC87FE #FEBC87 #87FEBC
tetradic
#BC87FE #FE878E #C9FE87 #87FEF8
square
#BC87FE #FE878E #C9FE87 #87FEF8
split-complementary
#BC87FE #FEF887 #8EFE87
monochromatic
#780EFD #9A4AFD #BC87FE #DEC4FF #EEE1FF

Accessibility & contrast

On white

2.61
#BC87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#BC87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87FE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87FE#FFFFFF#000000##000000
##BC87FE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#B09CB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bc87fe;
/* rgb */ color: rgb(188, 135, 254);
/* oklch */ color: oklch(72.4% 0.173 302.9);
Tailwind
colors: {
  custom: {
    50: '#d3abff',
    500: '#bc87fe',
    950: '#000000',
  },
}
SCSS
$custom: #bc87fe;
$custom-light: #d3abff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87fe",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 266.723,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.1734,
    "h": 302.9
  },
  "luminance": 0.35175
}

Semantic roles & 50–950 ramp

primary
#BC87FE
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BC87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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