#BC7EF5#BC7EF5

#BC7EF5 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.4% C 0.177 H 306.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BC7EF5
RGBrgb(188, 126, 245)
HSLhsl(271, 86%, 73%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.3%, 48.6%, 0%, 3.9%)
CIE-LABlab(63.51, 46.04, -50.77)
CIE-LCHlch(63.51, 68.53, 312.20°)
OKLaboklab(70.45% 0.105 -0.1422)
OKLCHoklch(70.45% 0.177 306.5)
XYZxyz(44.6780, 32.2060, 90.2312)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EF5 #B7F57E
analogous
#817EF5 #BC7EF5 #F57EF2
triadic
#BC7EF5 #F5BC7E #7EF5BC
tetradic
#BC7EF5 #F5817E #B7F57E #7EF2F5
square
#BC7EF5 #F5817E #B7F57E #7EF2F5
split-complementary
#BC7EF5 #F2F57E #7EF581
monochromatic
#8112E7 #9F45F1 #BC7EF5 #D9B7F9 #F0E3FD

Accessibility & contrast

On white

2.82
#BC7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BC7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EF5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EF5#FFFFFF#000000##000000
##BC7EF51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#B392AE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7ef5;
/* rgb */ color: rgb(188, 126, 245);
/* oklch */ color: oklch(70.4% 0.177 306.5);
Tailwind
colors: {
  custom: {
    50: '#d3a5f9',
    500: '#bc7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bc7ef5;
$custom-light: #d3a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7ef5",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 271.261,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70448,
    "c": 0.17674,
    "h": 306.5
  },
  "luminance": 0.32206
}

Semantic roles & 50–950 ramp

primary
#BC7EF5
secondary
#E5F5D6
accent
#E2036E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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