#B78EEA#B78EEA

#B78EEA is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.0% C 0.136 H 303.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B78EEA
RGBrgb(183, 142, 234)
HSLhsl(267, 69%, 74%)
HSVhsv(267, 39%, 92%)
CMYKcmyk(21.8%, 39.3%, 0%, 8.2%)
CIE-LABlab(66.02, 33.39, -40.79)
CIE-LCHlch(66.02, 52.71, 309.30°)
OKLaboklab(72.05% 0.0756 -0.1134)
OKLCHoklch(72.05% 0.136 303.7)
XYZxyz(44.0496, 35.3539, 82.3293)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EEA #C1EA8E
analogous
#8E93EA #B78EEA #E58EEA
triadic
#B78EEA #EAB78E #8EEAB7
tetradic
#B78EEA #EA8E93 #C1EA8E #8EEAE5
square
#B78EEA #EA8E93 #C1EA8E #8EEAE5
split-complementary
#B78EEA #EAE58E #93EA8E
monochromatic
#7528D6 #965AE0 #B78EEA #D8C2F4 #EFE5FA

Accessibility & contrast

On white

2.60
#B78EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B78EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EEA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EEA#FFFFFF#000000##000000
##B78EEA1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#81A0E8
Tritanopia (blue-blind)
#AF9DB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b78eea;
/* rgb */ color: rgb(183, 142, 234);
/* oklch */ color: oklch(72.0% 0.136 303.7);
Tailwind
colors: {
  custom: {
    50: '#ceaff1',
    500: '#b78eea',
    950: '#000000',
  },
}
SCSS
$custom: #b78eea;
$custom-light: #ceaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b78eea",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 266.739,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72047,
    "c": 0.13627,
    "h": 303.7
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#B78EEA
secondary
#E7F2D9
accent
#D1157D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B78EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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