#B78FEB#B78FEB

#B78FEB is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.3% C 0.136 H 303.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B78FEB
RGBrgb(183, 143, 235)
HSLhsl(266, 70%, 74%)
HSVhsv(266, 39%, 92%)
CMYKcmyk(22.1%, 39.1%, 0%, 7.8%)
CIE-LABlab(66.30, 33.06, -40.91)
CIE-LCHlch(66.30, 52.60, 308.94°)
OKLaboklab(72.27% 0.0744 -0.1137)
OKLCHoklch(72.27% 0.136 303.2)
XYZxyz(44.3431, 35.7104, 83.1379)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78FEB #C3EB8F
analogous
#8F95EB #B78FEB #E58FEB
triadic
#B78FEB #EBB78F #8FEBB7
tetradic
#B78FEB #EB8F95 #C3EB8F #8FEBE5
square
#B78FEB #EB8F95 #C3EB8F #8FEBE5
split-complementary
#B78FEB #EBE58F #95EB8F
monochromatic
#7427D8 #965BE2 #B78FEB #D8C3F4 #EEE5FA

Accessibility & contrast

On white

2.58
#B78FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B78FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78FEB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78FEB#FFFFFF#000000##000000
##B78FEB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#AE9EB2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78feb;
/* rgb */ color: rgb(183, 143, 235);
/* oklch */ color: oklch(72.3% 0.136 303.2);
Tailwind
colors: {
  custom: {
    50: '#ceb0f2',
    500: '#b78feb',
    950: '#000000',
  },
}
SCSS
$custom: #b78feb;
$custom-light: #ceb0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b78feb",
  "rgb": {
    "r": 183,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 266.087,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7227,
    "c": 0.1359,
    "h": 303.2
  },
  "luminance": 0.3571
}

Semantic roles & 50–950 ramp

primary
#B78FEB
secondary
#E7F2D9
accent
#D2147F
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B78FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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