#BC87F2#BC87F2

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

Color values

HEX#BC87F2
RGBrgb(188, 135, 242)
HSLhsl(270, 80%, 74%)
HSVhsv(270, 44%, 95%)
CMYKcmyk(22.3%, 44.2%, 0%, 5.1%)
CIE-LABlab(65.30, 40.48, -46.29)
CIE-LCHlch(65.30, 61.49, 311.17°)
OKLaboklab(71.74% 0.0925 -0.1292)
OKLCHoklch(71.74% 0.159 305.6)
XYZxyz(45.4267, 34.4304, 88.2398)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC87F2 #BDF287
analogous
#8788F2 #BC87F2 #F287F2
triadic
#BC87F2 #F2BC87 #87F2BC
tetradic
#BC87F2 #F28788 #BDF287 #87F2F2
square
#BC87F2 #F28788 #BDF287 #87F2F2
split-complementary
#BC87F2 #F2F287 #88F287
monochromatic
#7E19E6 #9D50EC #BC87F2 #DBBEF8 #F0E3FC

Accessibility & contrast

On white

2.66
#BC87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BC87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC87F2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC87F2#FFFFFF#000000##000000
##BC87F21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#B499B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bc87f2;
/* rgb */ color: rgb(188, 135, 242);
/* oklch */ color: oklch(71.7% 0.159 305.6);
Tailwind
colors: {
  custom: {
    50: '#d2abf7',
    500: '#bc87f2',
    950: '#000000',
  },
}
SCSS
$custom: #bc87f2;
$custom-light: #d2abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bc87f2",
  "rgb": {
    "r": 188,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 269.72,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71738,
    "c": 0.15889,
    "h": 305.6
  },
  "luminance": 0.3443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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