#BC7EF6#BC7EF6

#BC7EF6 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.178 H 306.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BC7EF6
RGBrgb(188, 126, 246)
HSLhsl(271, 87%, 73%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.6%, 48.8%, 0%, 3.5%)
CIE-LABlab(63.56, 46.26, -51.24)
CIE-LCHlch(63.56, 69.03, 312.08°)
OKLaboklab(70.5% 0.1051 -0.1435)
OKLCHoklch(70.5% 0.178 306.2)
XYZxyz(44.8310, 32.2673, 91.0374)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EF6 #B8F67E
analogous
#807EF6 #BC7EF6 #F67EF4
triadic
#BC7EF6 #F6BC7E #7EF6BC
tetradic
#BC7EF6 #F6807E #B8F67E #7EF4F6
square
#BC7EF6 #F6807E #B8F67E #7EF4F6
split-complementary
#BC7EF6 #F4F67E #7EF680
monochromatic
#8010E9 #9E45F2 #BC7EF6 #DAB7FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.45
#BC7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EF6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EF6#FFFFFF#000000##000000
##BC7EF61.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#B393AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bc7ef6;
/* rgb */ color: rgb(188, 126, 246);
/* oklch */ color: oklch(70.5% 0.178 306.2);
Tailwind
colors: {
  custom: {
    50: '#d3a5fa',
    500: '#bc7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #bc7ef6;
$custom-light: #d3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7ef6",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 271,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.17791,
    "h": 306.2
  },
  "luminance": 0.32267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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