#BC87F1#BC87F1

#BC87F1 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.158 H 305.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BC87F1
RGBrgb(188, 135, 241)
HSLhsl(270, 79%, 74%)
HSVhsv(270, 44%, 95%)
CMYKcmyk(22%, 44%, 0%, 5.5%)
CIE-LABlab(65.26, 40.26, -45.81)
CIE-LCHlch(65.26, 60.99, 311.31°)
OKLaboklab(71.69% 0.0924 -0.1278)
OKLCHoklch(71.69% 0.158 305.9)
XYZxyz(45.2770, 34.3705, 87.4509)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87F1 #BCF187
analogous
#8787F1 #BC87F1 #F187F1
triadic
#BC87F1 #F1BC87 #87F1BC
tetradic
#BC87F1 #F18787 #BCF187 #87F1F1
square
#BC87F1 #F18787 #BCF187 #87F1F1
split-complementary
#BC87F1 #F1F187 #87F187
monochromatic
#7F1AE3 #9D50EB #BC87F1 #DBBEF7 #F0E4FC

Accessibility & contrast

On white

2.67
#BC87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BC87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87F1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87F1#FFFFFF#000000##000000
##BC87F11.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF5
Deuteranopia (green-blind)
#799FEE
Tritanopia (blue-blind)
#B498B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc87f1;
/* rgb */ color: rgb(188, 135, 241);
/* oklch */ color: oklch(71.7% 0.158 305.9);
Tailwind
colors: {
  custom: {
    50: '#d2abf6',
    500: '#bc87f1',
    950: '#000000',
  },
}
SCSS
$custom: #bc87f1;
$custom-light: #d2abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87f1",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 270,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.15767,
    "h": 305.9
  },
  "luminance": 0.3437
}

Semantic roles & 50–950 ramp

primary
#BC87F1
secondary
#E6F4D7
accent
#DB0A73
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BC87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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