#BC8CEB#BC8CEB

#BC8CEB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.2% C 0.142 H 306.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#BC8CEB
RGBrgb(188, 140, 235)
HSLhsl(270, 70%, 74%)
HSVhsv(270, 40%, 92%)
CMYKcmyk(20%, 40.4%, 0%, 7.8%)
CIE-LABlab(66.09, 36.16, -41.19)
CIE-LCHlch(66.09, 54.81, 311.28°)
OKLaboklab(72.23% 0.0844 -0.1144)
OKLCHoklch(72.23% 0.142 306.4)
XYZxyz(45.1095, 35.4460, 83.0465)
Luminance0.3545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC8CEB #BBEB8C
analogous
#8C8CEB #BC8CEB #EB8CEA
triadic
#BC8CEB #EBBC8C #8CEBBC
tetradic
#BC8CEB #EB8C8C #BBEB8C #8CEAEB
square
#BC8CEB #EB8C8C #BBEB8C #8CEAEB
split-complementary
#BC8CEB #EAEB8C #8CEB8C
monochromatic
#7F25D7 #9E58E2 #BC8CEB #DAC0F4 #F0E5FA

Accessibility & contrast

On white

2.60
#BC8CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#BC8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC8CEB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC8CEB#FFFFFF#000000##000000
##BC8CEB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#B59BB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bc8ceb;
/* rgb */ color: rgb(188, 140, 235);
/* oklch */ color: oklch(72.2% 0.142 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2aef2',
    500: '#bc8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bc8ceb;
$custom-light: #d2aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc8ceb",
  "rgb": {
    "r": 188,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 270.316,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72228,
    "c": 0.14221,
    "h": 306.4
  },
  "luminance": 0.35446
}

Semantic roles & 50–950 ramp

primary
#BC8CEB
secondary
#E5F2D9
accent
#D21372
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BC8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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