#BC7FEC#BC7FEC

#BC7FEC is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.165 H 308.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#BC7FEC
RGBrgb(188, 127, 236)
HSLhsl(274, 74%, 71%)
HSVhsv(274, 46%, 93%)
CMYKcmyk(20.3%, 46.2%, 0%, 7.5%)
CIE-LABlab(63.28, 43.48, -46.16)
CIE-LCHlch(63.28, 63.42, 313.29°)
OKLaboklab(70.13% 0.1026 -0.1288)
OKLCHoklch(70.13% 0.165 308.5)
XYZxyz(43.4658, 31.9268, 83.2133)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7FEC #AFEC7F
analogous
#857FEC #BC7FEC #EC7FE5
triadic
#BC7FEC #ECBC7F #7FECBC
tetradic
#BC7FEC #EC857F #AFEC7F #7FE5EC
square
#BC7FEC #EC857F #AFEC7F #7FE5EC
split-complementary
#BC7FEC #E5EC7F #7FEC85
monochromatic
#831FD2 #A04AE4 #BC7FEC #D8B4F4 #F1E4FB

Accessibility & contrast

On white

2.84
#BC7FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#BC7FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7FEC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7FEC#FFFFFF#000000##000000
##BC7FEC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#B691AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bc7fec;
/* rgb */ color: rgb(188, 127, 236);
/* oklch */ color: oklch(70.1% 0.165 308.5);
Tailwind
colors: {
  custom: {
    50: '#d2a5f2',
    500: '#bc7fec',
    950: '#000000',
  },
}
SCSS
$custom: #bc7fec;
$custom-light: #d2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7fec",
  "rgb": {
    "r": 188,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 273.578,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70132,
    "c": 0.16463,
    "h": 308.5
  },
  "luminance": 0.31926
}

Semantic roles & 50–950 ramp

primary
#BC7FEC
secondary
#E2F2D5
accent
#D60F67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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