#B78DEB#B78DEB

#B78DEB is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.139 H 303.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B78DEB
RGBrgb(183, 141, 235)
HSLhsl(267, 70%, 74%)
HSVhsv(267, 40%, 92%)
CMYKcmyk(22.1%, 40%, 0%, 7.8%)
CIE-LABlab(65.84, 34.17, -41.63)
CIE-LCHlch(65.84, 53.86, 309.38°)
OKLaboklab(71.92% 0.0772 -0.1158)
OKLCHoklch(71.92% 0.139 303.7)
XYZxyz(44.0456, 35.1153, 83.0387)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78DEB #C1EB8D
analogous
#8D92EB #B78DEB #E68DEB
triadic
#B78DEB #EBB78D #8DEBB7
tetradic
#B78DEB #EB8D92 #C1EB8D #8DEBE6
square
#B78DEB #EB8D92 #C1EB8D #8DEBE6
split-complementary
#B78DEB #EBE68D #92EB8D
monochromatic
#7526D8 #9659E2 #B78DEB #D8C1F4 #EFE5FA

Accessibility & contrast

On white

2.62
#B78DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B78DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78DEB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78DEB#FFFFFF#000000##000000
##B78DEB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#AE9CB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b78deb;
/* rgb */ color: rgb(183, 141, 235);
/* oklch */ color: oklch(71.9% 0.139 303.7);
Tailwind
colors: {
  custom: {
    50: '#ceaff2',
    500: '#b78deb',
    950: '#000000',
  },
}
SCSS
$custom: #b78deb;
$custom-light: #ceaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b78deb",
  "rgb": {
    "r": 183,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 266.809,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71922,
    "c": 0.13916,
    "h": 303.7
  },
  "luminance": 0.35115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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