#BC7EFB#BC7EFB

#BC7EFB is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.184 H 305.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#BC7EFB
RGBrgb(188, 126, 251)
HSLhsl(270, 94%, 74%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(25.1%, 49.8%, 0%, 1.6%)
CIE-LABlab(63.82, 47.40, -53.58)
CIE-LCHlch(63.82, 71.54, 311.50°)
OKLaboklab(70.77% 0.1056 -0.1504)
OKLCHoklch(70.77% 0.184 305.1)
XYZxyz(45.6088, 32.5784, 95.1336)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EFB #BDFB7E
analogous
#7E7FFB #BC7EFB #FB7EFB
triadic
#BC7EFB #FBBC7E #7EFBBC
tetradic
#BC7EFB #FB7E7F #BDFB7E #7EFBFB
square
#BC7EFB #FB7E7F #BDFB7E #7EFBFB
split-complementary
#BC7EFB #FBFB7E #7FFB7E
monochromatic
#7E08F7 #9D43F9 #BC7EFB #DBB9FD #F0E1FE

Accessibility & contrast

On white

2.79
#BC7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#BC7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EFB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EFB#FFFFFF#000000##000000
##BC7EFB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#B294B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bc7efb;
/* rgb */ color: rgb(188, 126, 251);
/* oklch */ color: oklch(70.8% 0.184 305.1);
Tailwind
colors: {
  custom: {
    50: '#d3a5fd',
    500: '#bc7efb',
    950: '#000000',
  },
}
SCSS
$custom: #bc7efb;
$custom-light: #d3a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7efb",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 269.76,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.18375,
    "h": 305.1
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#BC7EFB
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BC7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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