#BC7EF7#BC7EF7

#BC7EF7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.179 H 306.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BC7EF7
RGBrgb(188, 126, 247)
HSLhsl(271, 88%, 73%)
HSVhsv(271, 49%, 97%)
CMYKcmyk(23.9%, 49%, 0%, 3.1%)
CIE-LABlab(63.61, 46.49, -51.71)
CIE-LCHlch(63.61, 69.54, 311.96°)
OKLaboklab(70.56% 0.1052 -0.1449)
OKLCHoklch(70.56% 0.179 306)
XYZxyz(44.9849, 32.3288, 91.8479)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7EF7 #B9F77E
analogous
#7F7EF7 #BC7EF7 #F77EF5
triadic
#BC7EF7 #F7BC7E #7EF7BC
tetradic
#BC7EF7 #F77F7E #B9F77E #7EF5F7
square
#BC7EF7 #F77F7E #B9F77E #7EF5F7
split-complementary
#BC7EF7 #F5F77E #7EF77F
monochromatic
#800FEC #9E44F3 #BC7EF7 #DAB8FB #F0E2FD

Accessibility & contrast

On white

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

On black

7.47
#BC7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7EF7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7EF7#FFFFFF#000000##000000
##BC7EF71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bc7ef7;
/* rgb */ color: rgb(188, 126, 247);
/* oklch */ color: oklch(70.6% 0.179 306.0);
Tailwind
colors: {
  custom: {
    50: '#d3a5fa',
    500: '#bc7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bc7ef7;
$custom-light: #d3a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7ef7",
  "rgb": {
    "r": 188,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 270.744,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70556,
    "c": 0.17907,
    "h": 306
  },
  "luminance": 0.32328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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