#BC81EC#BC81EC

#BC81EC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.161 H 308.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BC81EC
RGBrgb(188, 129, 236)
HSLhsl(273, 74%, 72%)
HSVhsv(273, 45%, 93%)
CMYKcmyk(20.3%, 45.3%, 0%, 7.5%)
CIE-LABlab(63.71, 42.40, -45.48)
CIE-LCHlch(63.71, 62.18, 312.99°)
OKLaboklab(70.45% 0.0998 -0.1268)
OKLCHoklch(70.45% 0.161 308.2)
XYZxyz(43.7267, 32.4485, 83.3003)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC81EC #B1EC81
analogous
#8781EC #BC81EC #EC81E7
triadic
#BC81EC #ECBC81 #81ECBC
tetradic
#BC81EC #EC8781 #B1EC81 #81E7EC
square
#BC81EC #EC8781 #B1EC81 #81E7EC
split-complementary
#BC81EC #E7EC81 #81EC87
monochromatic
#8320D3 #A04CE4 #BC81EC #D8B6F4 #F1E4FB

Accessibility & contrast

On white

2.80
#BC81EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#BC81EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC81EC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC81EC#FFFFFF#000000##000000
##BC81EC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#B592AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc81ec;
/* rgb */ color: rgb(188, 129, 236);
/* oklch */ color: oklch(70.5% 0.161 308.2);
Tailwind
colors: {
  custom: {
    50: '#d2a7f2',
    500: '#bc81ec',
    950: '#000000',
  },
}
SCSS
$custom: #bc81ec;
$custom-light: #d2a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc81ec",
  "rgb": {
    "r": 188,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 273.084,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70453,
    "c": 0.1614,
    "h": 308.2
  },
  "luminance": 0.32448
}

Semantic roles & 50–950 ramp

primary
#BC81EC
secondary
#E3F2D7
accent
#D61069
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC81EC

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

Preview Lab → · Contrast checker → · Palette generator →

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