#BC7EEA#BC7EEA

#BC7EEA is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.164 H 309.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BC7EEA
RGBrgb(188, 126, 234)
HSLhsl(274, 72%, 71%)
HSVhsv(274, 46%, 92%)
CMYKcmyk(19.7%, 46.2%, 0%, 8.2%)
CIE-LABlab(62.97, 43.58, -45.54)
CIE-LCHlch(62.97, 63.03, 313.74°)
OKLaboklab(69.87% 0.1037 -0.127)
OKLCHoklch(69.87% 0.164 309.2)
XYZxyz(43.0484, 31.5542, 81.6487)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EEA #ACEA7E
analogous
#867EEA #BC7EEA #EA7EE2
triadic
#BC7EEA #EABC7E #7EEABC
tetradic
#BC7EEA #EA867E #ACEA7E #7EE2EA
square
#BC7EEA #EA867E #ACEA7E #7EE2EA
split-complementary
#BC7EEA #E2EA7E #7EEA86
monochromatic
#8321CC #A149E1 #BC7EEA #D7B3F3 #F1E5FB

Accessibility & contrast

On white

2.87
#BC7EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BC7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EEA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EEA#FFFFFF#000000##000000
##BC7EEA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#7599E7
Tritanopia (blue-blind)
#B68FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bc7eea;
/* rgb */ color: rgb(188, 126, 234);
/* oklch */ color: oklch(69.9% 0.164 309.2);
Tailwind
colors: {
  custom: {
    50: '#d2a5f1',
    500: '#bc7eea',
    950: '#000000',
  },
}
SCSS
$custom: #bc7eea;
$custom-light: #d2a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7eea",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 274.444,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.16392,
    "h": 309.2
  },
  "luminance": 0.31554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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