#BC7DEC#BC7DEC

#BC7DEC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.168 H 308.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BC7DEC
RGBrgb(188, 125, 236)
HSLhsl(274, 74%, 71%)
HSVhsv(274, 47%, 93%)
CMYKcmyk(20.3%, 47%, 0%, 7.5%)
CIE-LABlab(62.86, 44.56, -46.83)
CIE-LCHlch(62.86, 64.65, 313.58°)
OKLaboklab(69.81% 0.1053 -0.1307)
OKLCHoklch(69.81% 0.168 308.9)
XYZxyz(43.2101, 31.4153, 83.1281)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7DEC #ADEC7D
analogous
#847DEC #BC7DEC #EC7DE5
triadic
#BC7DEC #ECBC7D #7DECBC
tetradic
#BC7DEC #EC847D #ADEC7D #7DE5EC
square
#BC7DEC #EC847D #ADEC7D #7DE5EC
split-complementary
#BC7DEC #E5EC7D #7DEC84
monochromatic
#831ED0 #A048E4 #BC7DEC #D8B2F4 #F1E4FB

Accessibility & contrast

On white

2.88
#BC7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BC7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7DEC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7DEC#FFFFFF#000000##000000
##BC7DEC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#B68FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7dec;
/* rgb */ color: rgb(188, 125, 236);
/* oklch */ color: oklch(69.8% 0.168 308.9);
Tailwind
colors: {
  custom: {
    50: '#d2a4f2',
    500: '#bc7dec',
    950: '#000000',
  },
}
SCSS
$custom: #bc7dec;
$custom-light: #d2a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7dec",
  "rgb": {
    "r": 188,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 274.054,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.16785,
    "h": 308.9
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#BC7DEC
secondary
#E0F1D3
accent
#D70F65
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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