#BC7EF8#BC7EF8

#BC7EF8 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.180 H 305.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BC7EF8
RGBrgb(188, 126, 248)
HSLhsl(270, 90%, 73%)
HSVhsv(270, 49%, 97%)
CMYKcmyk(24.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(63.66, 46.72, -52.18)
CIE-LCHlch(63.66, 70.04, 311.84°)
OKLaboklab(70.61% 0.1053 -0.1463)
OKLCHoklch(70.61% 0.18 305.8)
XYZxyz(45.1396, 32.3907, 92.6627)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EF8 #BAF87E
analogous
#7F7EF8 #BC7EF8 #F87EF7
triadic
#BC7EF8 #F8BC7E #7EF8BC
tetradic
#BC7EF8 #F87F7E #BAF87E #7EF7F8
square
#BC7EF8 #F87F7E #BAF87E #7EF7F8
split-complementary
#BC7EF8 #F7F87E #7EF87F
monochromatic
#800DEF #9E44F5 #BC7EF8 #DAB8FB #F0E2FD

Accessibility & contrast

On white

2.81
#BC7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BC7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EF8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EF8#FFFFFF#000000##000000
##BC7EF81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#B293B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7ef8;
/* rgb */ color: rgb(188, 126, 248);
/* oklch */ color: oklch(70.6% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#d3a5fb',
    500: '#bc7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #bc7ef8;
$custom-light: #d3a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7ef8",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 270.492,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.18025,
    "h": 305.8
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

primary
#BC7EF8
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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