#BC87F8#BC87F8

#BC87F8 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.166 H 304.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BC87F8
RGBrgb(188, 135, 248)
HSLhsl(268, 89%, 75%)
HSVhsv(268, 46%, 97%)
CMYKcmyk(24.2%, 45.6%, 0%, 2.7%)
CIE-LABlab(65.59, 41.85, -49.13)
CIE-LCHlch(65.59, 64.54, 310.43°)
OKLaboklab(72.05% 0.0934 -0.1374)
OKLCHoklch(72.05% 0.166 304.2)
XYZxyz(46.3427, 34.7968, 93.0638)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87F8 #C3F887
analogous
#878AF8 #BC87F8 #F587F8
triadic
#BC87F8 #F8BC87 #87F8BC
tetradic
#BC87F8 #F8878A #C3F887 #87F8F5
square
#BC87F8 #F8878A #C3F887 #87F8F5
split-complementary
#BC87F8 #F8F587 #8AF887
monochromatic
#7B13F1 #9C4DF5 #BC87F8 #DCC1FB #EFE2FD

Accessibility & contrast

On white

2.64
#BC87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BC87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87F8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87F8#FFFFFF#000000##000000
##BC87F81.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#B29AB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bc87f8;
/* rgb */ color: rgb(188, 135, 248);
/* oklch */ color: oklch(72.0% 0.166 304.2);
Tailwind
colors: {
  custom: {
    50: '#d2abfb',
    500: '#bc87f8',
    950: '#000000',
  },
}
SCSS
$custom: #bc87f8;
$custom-light: #d2abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87f8",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 268.142,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.16615,
    "h": 304.2
  },
  "luminance": 0.34797
}

Semantic roles & 50–950 ramp

primary
#BC87F8
secondary
#E6F5D6
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BC87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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