#B78BEE#B78BEE

#B78BEE is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.146 H 303.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B78BEE
RGBrgb(183, 139, 238)
HSLhsl(267, 74%, 74%)
HSVhsv(267, 42%, 93%)
CMYKcmyk(23.1%, 41.6%, 0%, 6.7%)
CIE-LABlab(65.52, 35.97, -43.78)
CIE-LCHlch(65.52, 56.66, 309.41°)
OKLaboklab(71.73% 0.0805 -0.122)
OKLCHoklch(71.73% 0.146 303.4)
XYZxyz(44.1904, 34.7056, 85.2432)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78BEE #C2EE8B
analogous
#8B91EE #B78BEE #E98BEE
triadic
#B78BEE #EEB78B #8BEEB7
tetradic
#B78BEE #EE8B91 #C2EE8B #8BEEE9
square
#B78BEE #EE8B91 #C2EE8B #8BEEE9
split-complementary
#B78BEE #EEE98B #91EE8B
monochromatic
#7521DE #9656E6 #B78BEE #D8C0F6 #EEE4FB

Accessibility & contrast

On white

2.64
#B78BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B78BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78BEE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78BEE#FFFFFF#000000##000000
##B78BEE1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#AE9BB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b78bee;
/* rgb */ color: rgb(183, 139, 238);
/* oklch */ color: oklch(71.7% 0.146 303.4);
Tailwind
colors: {
  custom: {
    50: '#ceadf4',
    500: '#b78bee',
    950: '#000000',
  },
}
SCSS
$custom: #b78bee;
$custom-light: #ceadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b78bee",
  "rgb": {
    "r": 183,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 266.667,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71726,
    "c": 0.14618,
    "h": 303.4
  },
  "luminance": 0.34706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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