#B78EE2#B78EE2

#B78EE2 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.126 H 305.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B78EE2
RGBrgb(183, 142, 226)
HSLhsl(269, 59%, 72%)
HSVhsv(269, 37%, 89%)
CMYKcmyk(19%, 37.2%, 0%, 11.4%)
CIE-LABlab(65.67, 31.57, -36.91)
CIE-LCHlch(65.67, 48.57, 310.54°)
OKLaboklab(71.67% 0.074 -0.1022)
OKLCHoklch(71.67% 0.126 305.9)
XYZxyz(42.9262, 34.9045, 76.4126)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78EE2 #B9E28E
analogous
#8E8FE2 #B78EE2 #E18EE2
triadic
#B78EE2 #E2B78E #8EE2B7
tetradic
#B78EE2 #E28E8F #B9E28E #8EE2E1
square
#B78EE2 #E28E8F #B9E28E #8EE2E1
split-complementary
#B78EE2 #E2E18E #8FE28E
monochromatic
#7932C3 #985DD6 #B78EE2 #D6BFEE #EFE7F9

Accessibility & contrast

On white

2.63
#B78EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B78EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78EE2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78EE2#FFFFFF#000000##000000
##B78EE21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#85A0E0
Tritanopia (blue-blind)
#B19BAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b78ee2;
/* rgb */ color: rgb(183, 142, 226);
/* oklch */ color: oklch(71.7% 0.126 305.9);
Tailwind
colors: {
  custom: {
    50: '#ceafeb',
    500: '#b78ee2',
    950: '#000000',
  },
}
SCSS
$custom: #b78ee2;
$custom-light: #ceafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b78ee2",
  "rgb": {
    "r": 183,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 269.286,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71669,
    "c": 0.12616,
    "h": 305.9
  },
  "luminance": 0.34904
}

Semantic roles & 50–950 ramp

primary
#B78EE2
secondary
#E6F0DB
accent
#C71F75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B78EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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