#BF78E7#BF78E7

#BF78E7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.171 H 312.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BF78E7
RGBrgb(191, 120, 231)
HSLhsl(278, 70%, 69%)
HSVhsv(278, 48%, 91%)
CMYKcmyk(17.3%, 48.1%, 0%, 9.4%)
CIE-LABlab(61.89, 46.96, -45.55)
CIE-LCHlch(61.89, 65.43, 315.87°)
OKLaboklab(69.09% 0.1151 -0.1269)
OKLCHoklch(69.09% 0.171 312.2)
XYZxyz(42.6236, 30.2797, 79.1850)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF78E7 #A0E778
analogous
#8878E7 #BF78E7 #E778D8
triadic
#BF78E7 #E7BF78 #78E7BF
tetradic
#BF78E7 #E78878 #A0E778 #78D8E7
square
#BF78E7 #E78878 #A0E778 #78D8E7
split-complementary
#BF78E7 #D8E778 #78E788
monochromatic
#8923C2 #A644DE #BF78E7 #D8ACF0 #F0E0F9

Accessibility & contrast

On white

2.98
#BF78E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BF78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF78E7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF78E7#FFFFFF#000000##000000
##BF78E71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#BB89A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bf78e7;
/* rgb */ color: rgb(191, 120, 231);
/* oklch */ color: oklch(69.1% 0.171 312.2);
Tailwind
colors: {
  custom: {
    50: '#d4a1ef',
    500: '#bf78e7',
    950: '#000000',
  },
}
SCSS
$custom: #bf78e7;
$custom-light: #d4a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bf78e7",
  "rgb": {
    "r": 191,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 278.378,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.1713,
    "h": 312.2
  },
  "luminance": 0.30279
}

Semantic roles & 50–950 ramp

primary
#BF78E7
secondary
#D9EECD
accent
#D21458
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BF78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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