#BC7BEF#BC7BEF

#BC7BEF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.175 H 308.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BC7BEF
RGBrgb(188, 123, 239)
HSLhsl(274, 78%, 71%)
HSVhsv(274, 49%, 94%)
CMYKcmyk(21.3%, 48.5%, 0%, 6.3%)
CIE-LABlab(62.58, 46.30, -48.93)
CIE-LCHlch(62.58, 67.36, 313.42°)
OKLaboklab(69.66% 0.1084 -0.1368)
OKLCHoklch(69.66% 0.175 308.4)
XYZxyz(43.3990, 31.0898, 85.3593)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC7BEF #AEEF7B
analogous
#827BEF #BC7BEF #EF7BE8
triadic
#BC7BEF #EFBC7B #7BEFBC
tetradic
#BC7BEF #EF827B #AEEF7B #7BE8EF
square
#BC7BEF #EF827B #AEEF7B #7BE8EF
split-complementary
#BC7BEF #E8EF7B #7BEF82
monochromatic
#831AD6 #A044E8 #BC7BEF #D8B2F6 #F1E4FC

Accessibility & contrast

On white

2.91
#BC7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BC7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC7BEF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC7BEF#FFFFFF#000000##000000
##BC7BEF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#B58EAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bc7bef;
/* rgb */ color: rgb(188, 123, 239);
/* oklch */ color: oklch(69.7% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#d2a3f5',
    500: '#bc7bef',
    950: '#000000',
  },
}
SCSS
$custom: #bc7bef;
$custom-light: #d2a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bc7bef",
  "rgb": {
    "r": 188,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 273.621,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69659,
    "c": 0.17451,
    "h": 308.4
  },
  "luminance": 0.31089
}

Semantic roles & 50–950 ramp

primary
#BC7BEF
secondary
#E1F2D3
accent
#DB0B66
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BC7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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