#B78BEF#B78BEF

#B78BEF is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.147 H 303.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B78BEF
RGBrgb(183, 139, 239)
HSLhsl(266, 76%, 74%)
HSVhsv(266, 42%, 94%)
CMYKcmyk(23.4%, 41.8%, 0%, 6.3%)
CIE-LABlab(65.56, 36.20, -44.26)
CIE-LCHlch(65.56, 57.18, 309.28°)
OKLaboklab(71.78% 0.0807 -0.1234)
OKLCHoklch(71.78% 0.147 303.2)
XYZxyz(44.3377, 34.7646, 86.0190)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78BEF #C3EF8B
analogous
#8B91EF #B78BEF #E98BEF
triadic
#B78BEF #EFB78B #8BEFB7
tetradic
#B78BEF #EF8B91 #C3EF8B #8BEFE9
square
#B78BEF #EF8B91 #C3EF8B #8BEFE9
split-complementary
#B78BEF #EFE98B #91EF8B
monochromatic
#741FE0 #9655E8 #B78BEF #D8C1F6 #EEE4FB

Accessibility & contrast

On white

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

On black

7.95
#B78BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78BEF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78BEF#FFFFFF#000000##000000
##B78BEF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#AD9CB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b78bef;
/* rgb */ color: rgb(183, 139, 239);
/* oklch */ color: oklch(71.8% 0.147 303.2);
Tailwind
colors: {
  custom: {
    50: '#ceadf4',
    500: '#b78bef',
    950: '#000000',
  },
}
SCSS
$custom: #b78bef;
$custom-light: #ceadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b78bef",
  "rgb": {
    "r": 183,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 266.4,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.14743,
    "h": 303.2
  },
  "luminance": 0.34765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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