#B78CF8#B78CF8

#B78CF8 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.4% C 0.157 H 300.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B78CF8
RGBrgb(183, 140, 248)
HSLhsl(264, 89%, 76%)
HSVhsv(264, 44%, 97%)
CMYKcmyk(26.2%, 43.5%, 0%, 2.7%)
CIE-LABlab(66.21, 37.76, -48.18)
CIE-LCHlch(66.21, 61.21, 308.08°)
OKLaboklab(72.4% 0.0808 -0.1348)
OKLCHoklch(72.4% 0.157 300.9)
XYZxyz(45.8460, 35.6006, 93.2450)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78CF8 #CDF88C
analogous
#8C97F8 #B78CF8 #ED8CF8
triadic
#B78CF8 #F8B78C #8CF8B7
tetradic
#B78CF8 #F88C97 #CDF88C #8CF8ED
square
#B78CF8 #F88C97 #CDF88C #8CF8ED
split-complementary
#B78CF8 #F8ED8C #97F88C
monochromatic
#6F19F1 #9352F4 #B78CF8 #DBC6FC #EDE2FD

Accessibility & contrast

On white

2.59
#B78CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B78CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78CF8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78CF8#FFFFFF#000000##000000
##B78CF81.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#AB9FB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78cf8;
/* rgb */ color: rgb(183, 140, 248);
/* oklch */ color: oklch(72.4% 0.157 300.9);
Tailwind
colors: {
  custom: {
    50: '#cfaefb',
    500: '#b78cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b78cf8;
$custom-light: #cfaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#b78cf8",
  "rgb": {
    "r": 183,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 263.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72402,
    "c": 0.15713,
    "h": 300.9
  },
  "luminance": 0.35601
}

Semantic roles & 50–950 ramp

primary
#B78CF8
secondary
#E9F5D6
accent
#E5008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B78CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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