#B78EEE#B78EEE

#B78EEE is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.141 H 302.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B78EEE
RGBrgb(183, 142, 238)
HSLhsl(266, 74%, 75%)
HSVhsv(266, 40%, 93%)
CMYKcmyk(23.1%, 40.3%, 0%, 6.7%)
CIE-LABlab(66.20, 34.31, -42.71)
CIE-LCHlch(66.20, 54.78, 308.78°)
OKLaboklab(72.24% 0.0764 -0.1189)
OKLCHoklch(72.24% 0.141 302.7)
XYZxyz(44.6307, 35.5863, 85.3899)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EEE #C5EE8E
analogous
#8E95EE #B78EEE #E78EEE
triadic
#B78EEE #EEB78E #8EEEB7
tetradic
#B78EEE #EE8E95 #C5EE8E #8EEEE7
square
#B78EEE #EE8E95 #C5EE8E #8EEEE7
split-complementary
#B78EEE #EEE78E #95EE8E
monochromatic
#7324DE #9559E6 #B78EEE #D9C3F6 #EEE4FB

Accessibility & contrast

On white

2.59
#B78EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B78EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EEE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EEE#FFFFFF#000000##000000
##B78EEE1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#AE9EB3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78eee;
/* rgb */ color: rgb(183, 142, 238);
/* oklch */ color: oklch(72.2% 0.141 302.7);
Tailwind
colors: {
  custom: {
    50: '#ceaff4',
    500: '#b78eee',
    950: '#000000',
  },
}
SCSS
$custom: #b78eee;
$custom-light: #ceaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b78eee",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 265.625,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.14133,
    "h": 302.7
  },
  "luminance": 0.35586
}

Semantic roles & 50–950 ramp

primary
#B78EEE
secondary
#E7F3D8
accent
#D61081
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B78EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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