#BC87F7#BC87F7

#BC87F7 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.0% C 0.165 H 304.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BC87F7
RGBrgb(188, 135, 247)
HSLhsl(268, 88%, 75%)
HSVhsv(268, 45%, 97%)
CMYKcmyk(23.9%, 45.3%, 0%, 3.1%)
CIE-LABlab(65.54, 41.62, -48.66)
CIE-LCHlch(65.54, 64.03, 310.55°)
OKLaboklab(72% 0.0932 -0.136)
OKLCHoklch(72% 0.165 304.4)
XYZxyz(46.1880, 34.7349, 92.2489)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87F7 #C2F787
analogous
#878AF7 #BC87F7 #F487F7
triadic
#BC87F7 #F7BC87 #87F7BC
tetradic
#BC87F7 #F7878A #C2F787 #87F7F4
square
#BC87F7 #F7878A #C2F787 #87F7F4
split-complementary
#BC87F7 #F7F487 #8AF787
monochromatic
#7C14EF #9C4EF3 #BC87F7 #DCC0FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.95
#BC87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87F7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87F7#FFFFFF#000000##000000
##BC87F71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#B29AB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bc87f7;
/* rgb */ color: rgb(188, 135, 247);
/* oklch */ color: oklch(72.0% 0.165 304.4);
Tailwind
colors: {
  custom: {
    50: '#d2abfa',
    500: '#bc87f7',
    950: '#000000',
  },
}
SCSS
$custom: #bc87f7;
$custom-light: #d2abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87f7",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 268.393,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71995,
    "c": 0.16493,
    "h": 304.4
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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