#BC7EFE#BC7EFE

#BC7EFE is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.187 H 304.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BC7EFE
RGBrgb(188, 126, 254)
HSLhsl(269, 98%, 75%)
HSVhsv(269, 50%, 100%)
CMYKcmyk(26%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.97, 48.09, -54.98)
CIE-LCHlch(63.97, 73.05, 311.18°)
OKLaboklab(70.94% 0.1059 -0.1545)
OKLCHoklch(70.94% 0.187 304.4)
XYZxyz(46.0854, 32.7690, 97.6439)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EFE #C0FE7E
analogous
#7E80FE #BC7EFE #FC7EFE
triadic
#BC7EFE #FEBC7E #7EFEBC
tetradic
#BC7EFE #FE7E80 #C0FE7E #7EFEFC
square
#BC7EFE #FE7E80 #C0FE7E #7EFEFC
split-complementary
#BC7EFE #FEFC7E #80FE7E
monochromatic
#7D05FD #9C41FE #BC7EFE #DCBBFE #EFE1FF

Accessibility & contrast

On white

2.78
#BC7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BC7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EFE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EFE#FFFFFF#000000##000000
##BC7EFE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#B195B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bc7efe;
/* rgb */ color: rgb(188, 126, 254);
/* oklch */ color: oklch(70.9% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#d3a5ff',
    500: '#bc7efe',
    950: '#000000',
  },
}
SCSS
$custom: #bc7efe;
$custom-light: #d3a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7efe",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 269.063,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.18726,
    "h": 304.4
  },
  "luminance": 0.32769
}

Semantic roles & 50–950 ramp

primary
#BC7EFE
secondary
#E6F7D4
accent
#E60076
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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