#B78BF8#B78BF8

#B78BF8 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.2% C 0.159 H 301.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B78BF8
RGBrgb(183, 139, 248)
HSLhsl(264, 89%, 76%)
HSVhsv(264, 44%, 97%)
CMYKcmyk(26.2%, 44%, 0%, 2.7%)
CIE-LABlab(65.99, 38.31, -48.53)
CIE-LCHlch(65.99, 61.83, 308.29°)
OKLaboklab(72.23% 0.0821 -0.1358)
OKLCHoklch(72.23% 0.159 301.1)
XYZxyz(45.7005, 35.3097, 93.1965)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78BF8 #CCF88B
analogous
#8B95F8 #B78BF8 #ED8BF8
triadic
#B78BF8 #F8B78B #8BF8B7
tetradic
#B78BF8 #F88B95 #CCF88B #8BF8ED
square
#B78BF8 #F88B95 #CCF88B #8BF8ED
split-complementary
#B78BF8 #F8ED8B #95F88B
monochromatic
#6F18F1 #9351F5 #B78BF8 #DBC5FB #EDE2FD

Accessibility & contrast

On white

2.60
#B78BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B78BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78BF8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78BF8#FFFFFF#000000##000000
##B78BF81.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#AB9EB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b78bf8;
/* rgb */ color: rgb(183, 139, 248);
/* oklch */ color: oklch(72.2% 0.159 301.1);
Tailwind
colors: {
  custom: {
    50: '#cfadfb',
    500: '#b78bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b78bf8;
$custom-light: #cfadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b78bf8",
  "rgb": {
    "r": 183,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 264.22,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.1587,
    "h": 301.1
  },
  "luminance": 0.3531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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