#BC7EFC#BC7EFC

#BC7EFC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.185 H 304.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#BC7EFC
RGBrgb(188, 126, 252)
HSLhsl(270, 95%, 74%)
HSVhsv(270, 50%, 99%)
CMYKcmyk(25.4%, 50%, 0%, 1.2%)
CIE-LABlab(63.87, 47.63, -54.05)
CIE-LCHlch(63.87, 72.04, 311.39°)
OKLaboklab(70.83% 0.1057 -0.1517)
OKLCHoklch(70.83% 0.185 304.9)
XYZxyz(45.7668, 32.6416, 95.9660)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EFC #BEFC7E
analogous
#7E7FFC #BC7EFC #FB7EFC
triadic
#BC7EFC #FCBC7E #7EFCBC
tetradic
#BC7EFC #FC7E7F #BEFC7E #7EFCFB
square
#BC7EFC #FC7E7F #BEFC7E #7EFCFB
split-complementary
#BC7EFC #FCFB7E #7FFC7E
monochromatic
#7E06F9 #9D42FB #BC7EFC #DBBAFD #EFE1FE

Accessibility & contrast

On white

2.79
#BC7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#BC7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EFC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EFC#FFFFFF#000000##000000
##BC7EFC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#B195B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bc7efc;
/* rgb */ color: rgb(188, 126, 252);
/* oklch */ color: oklch(70.8% 0.185 304.9);
Tailwind
colors: {
  custom: {
    50: '#d3a5fe',
    500: '#bc7efc',
    950: '#000000',
  },
}
SCSS
$custom: #bc7efc;
$custom-light: #d3a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7efc",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 269.524,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.18493,
    "h": 304.9
  },
  "luminance": 0.32641
}

Semantic roles & 50–950 ramp

primary
#BC7EFC
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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