#BF71EC#BF71EC

#BF71EC is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.3% C 0.188 H 311.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#BF71EC
RGBrgb(191, 113, 236)
HSLhsl(278, 76%, 68%)
HSVhsv(278, 52%, 93%)
CMYKcmyk(19.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(60.73, 51.69, -50.17)
CIE-LCHlch(60.73, 72.03, 315.85°)
OKLaboklab(68.31% 0.125 -0.1403)
OKLCHoklch(68.31% 0.188 311.7)
XYZxyz(42.5286, 28.9437, 82.6869)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF71EC #9EEC71
analogous
#8171EC #BF71EC #EC71DB
triadic
#BF71EC #ECBF71 #71ECBF
tetradic
#BF71EC #EC8171 #9EEC71 #71DBEC
square
#BF71EC #EC8171 #9EEC71 #71DBEC
split-complementary
#BF71EC #DBEC71 #71EC81
monochromatic
#891BC8 #A73BE5 #BF71EC #D7A7F3 #F0DDFA

Accessibility & contrast

On white

3.09
#BF71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#BF71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF71EC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF71EC#FFFFFF#000000##000000
##BF71EC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#BA86A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bf71ec;
/* rgb */ color: rgb(191, 113, 236);
/* oklch */ color: oklch(68.3% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#d59cf3',
    500: '#bf71ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf71ec;
$custom-light: #d59cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf71ec",
  "rgb": {
    "r": 191,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 278.049,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.18787,
    "h": 311.7
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#BF71EC
secondary
#D7EFCA
accent
#D90D57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #BF71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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