#B78EEB#B78EEB

#B78EEB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.138 H 303.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B78EEB
RGBrgb(183, 142, 235)
HSLhsl(266, 70%, 74%)
HSVhsv(266, 40%, 92%)
CMYKcmyk(22.1%, 39.6%, 0%, 7.8%)
CIE-LABlab(66.07, 33.62, -41.27)
CIE-LCHlch(66.07, 53.23, 309.17°)
OKLaboklab(72.1% 0.0758 -0.1148)
OKLCHoklch(72.1% 0.138 303.4)
XYZxyz(44.1937, 35.4115, 83.0880)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EEB #C2EB8E
analogous
#8E94EB #B78EEB #E68EEB
triadic
#B78EEB #EBB78E #8EEBB7
tetradic
#B78EEB #EB8E94 #C2EB8E #8EEBE6
square
#B78EEB #EB8E94 #C2EB8E #8EEBE6
split-complementary
#B78EEB #EBE68E #94EB8E
monochromatic
#7526D8 #965AE2 #B78EEB #D8C2F4 #EEE5FA

Accessibility & contrast

On white

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

On black

8.08
#B78EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EEB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EEB#FFFFFF#000000##000000
##B78EEB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#AE9DB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78eeb;
/* rgb */ color: rgb(183, 142, 235);
/* oklch */ color: oklch(72.1% 0.138 303.4);
Tailwind
colors: {
  custom: {
    50: '#ceaff2',
    500: '#b78eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b78eeb;
$custom-light: #ceaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b78eeb",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 266.452,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.13754,
    "h": 303.4
  },
  "luminance": 0.35411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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