#BF78EC#BF78EC

#BF78EC is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.177 H 310.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#BF78EC
RGBrgb(191, 120, 236)
HSLhsl(277, 75%, 70%)
HSVhsv(277, 49%, 93%)
CMYKcmyk(19.1%, 49.2%, 0%, 7.5%)
CIE-LABlab(62.14, 48.04, -47.94)
CIE-LCHlch(62.14, 67.87, 315.06°)
OKLaboklab(69.35% 0.1157 -0.1338)
OKLCHoklch(69.35% 0.177 310.8)
XYZxyz(43.3399, 30.5662, 82.9574)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF78EC #A5EC78
analogous
#8578EC #BF78EC #EC78DF
triadic
#BF78EC #ECBF78 #78ECBF
tetradic
#BF78EC #EC8578 #A5EC78 #78DFEC
square
#BF78EC #EC8578 #A5EC78 #78DFEC
split-complementary
#BF78EC #DFEC78 #78EC85
monochromatic
#891DCD #A642E4 #BF78EC #D8AEF4 #F2E3FB

Accessibility & contrast

On white

2.95
#BF78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#BF78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF78EC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF78EC#FFFFFF#000000##000000
##BF78EC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#BA8BA7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bf78ec;
/* rgb */ color: rgb(191, 120, 236);
/* oklch */ color: oklch(69.4% 0.177 310.8);
Tailwind
colors: {
  custom: {
    50: '#d4a1f2',
    500: '#bf78ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf78ec;
$custom-light: #d4a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf78ec",
  "rgb": {
    "r": 191,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 276.724,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69354,
    "c": 0.17689,
    "h": 310.8
  },
  "luminance": 0.30565
}

Semantic roles & 50–950 ramp

primary
#BF78EC
secondary
#DCF0D0
accent
#D70E5C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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