#B78FEE#B78FEE

#B78FEE is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.140 H 302.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B78FEE
RGBrgb(183, 143, 238)
HSLhsl(265, 74%, 75%)
HSVhsv(265, 40%, 93%)
CMYKcmyk(23.1%, 39.9%, 0%, 6.7%)
CIE-LABlab(66.43, 33.75, -42.35)
CIE-LCHlch(66.43, 54.15, 308.56°)
OKLaboklab(72.41% 0.075 -0.1179)
OKLCHoklch(72.41% 0.14 302.5)
XYZxyz(44.7802, 35.8852, 85.4398)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78FEE #C6EE8F
analogous
#8F97EE #B78FEE #E68FEE
triadic
#B78FEE #EEB78F #8FEEB7
tetradic
#B78FEE #EE8F97 #C6EE8F #8FEEE6
square
#B78FEE #EE8F97 #C6EE8F #8FEEE6
split-complementary
#B78FEE #EEE68F #97EE8F
monochromatic
#7325DE #955AE6 #B78FEE #D9C4F6 #EEE4FB

Accessibility & contrast

On white

2.57
#B78FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B78FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78FEE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78FEE#FFFFFF#000000##000000
##B78FEE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#AE9FB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b78fee;
/* rgb */ color: rgb(183, 143, 238);
/* oklch */ color: oklch(72.4% 0.140 302.5);
Tailwind
colors: {
  custom: {
    50: '#ceb0f4',
    500: '#b78fee',
    950: '#000000',
  },
}
SCSS
$custom: #b78fee;
$custom-light: #ceb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b78fee",
  "rgb": {
    "r": 183,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 265.263,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72415,
    "c": 0.13971,
    "h": 302.5
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#B78FEE
secondary
#E8F3D8
accent
#D61082
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B78FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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