#B78EFE#B78EFE

#B78EFE is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.1% C 0.162 H 299.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B78EFE
RGBrgb(183, 142, 254)
HSLhsl(262, 98%, 78%)
HSVhsv(262, 44%, 100%)
CMYKcmyk(28%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.95, 38.08, -50.29)
CIE-LCHlch(66.95, 63.08, 307.13°)
OKLaboklab(73.05% 0.079 -0.1409)
OKLCHoklch(73.05% 0.162 299.3)
XYZxyz(47.0867, 36.5687, 98.3245)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EFE #D5FE8E
analogous
#8E9DFE #B78EFE #EF8EFE
triadic
#B78EFE #FEB78E #8EFEB7
tetradic
#B78EFE #FE8E9D #D5FE8E #8EFEEF
square
#B78EFE #FE8E9D #D5FE8E #8EFEEF
split-complementary
#B78EFE #FEEF8E #9DFE8E
monochromatic
#6A15FD #9051FD #B78EFE #DECBFF #ECE1FF

Accessibility & contrast

On white

2.53
#B78EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B78EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EFE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EFE#FFFFFF#000000##000000
##B78EFE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#A9A2BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b78efe;
/* rgb */ color: rgb(183, 142, 254);
/* oklch */ color: oklch(73.1% 0.162 299.3);
Tailwind
colors: {
  custom: {
    50: '#cfafff',
    500: '#b78efe',
    950: '#000000',
  },
}
SCSS
$custom: #b78efe;
$custom-light: #cfafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b78efe",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 261.964,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73052,
    "c": 0.16156,
    "h": 299.3
  },
  "luminance": 0.36569
}

Semantic roles & 50–950 ramp

primary
#B78EFE
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B78EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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