#BC7EEC#BC7EEC

#BC7EEC is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.0% C 0.166 H 308.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BC7EEC
RGBrgb(188, 126, 236)
HSLhsl(274, 74%, 71%)
HSVhsv(274, 47%, 93%)
CMYKcmyk(20.3%, 46.6%, 0%, 7.5%)
CIE-LABlab(63.07, 44.02, -46.50)
CIE-LCHlch(63.07, 64.03, 313.43°)
OKLaboklab(69.97% 0.1039 -0.1297)
OKLCHoklch(69.97% 0.166 308.7)
XYZxyz(43.3373, 31.6698, 83.1705)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EEC #AEEC7E
analogous
#857EEC #BC7EEC #EC7EE5
triadic
#BC7EEC #ECBC7E #7EECBC
tetradic
#BC7EEC #EC857E #AEEC7E #7EE5EC
square
#BC7EEC #EC857E #AEEC7E #7EE5EC
split-complementary
#BC7EEC #E5EC7E #7EEC85
monochromatic
#831FD1 #A049E4 #BC7EEC #D8B3F4 #F1E4FB

Accessibility & contrast

On white

2.86
#BC7EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BC7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EEC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EEC#FFFFFF#000000##000000
##BC7EEC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc7eec;
/* rgb */ color: rgb(188, 126, 236);
/* oklch */ color: oklch(70.0% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#d2a5f2',
    500: '#bc7eec',
    950: '#000000',
  },
}
SCSS
$custom: #bc7eec;
$custom-light: #d2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7eec",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 273.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69973,
    "c": 0.16625,
    "h": 308.7
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#BC7EEC
secondary
#E1F2D4
accent
#D60F66
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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