#B78BFA#B78BFA

#B78BFA is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.3% C 0.161 H 300.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B78BFA
RGBrgb(183, 139, 250)
HSLhsl(264, 92%, 76%)
HSVhsv(264, 44%, 98%)
CMYKcmyk(26.8%, 44.4%, 0%, 2%)
CIE-LABlab(66.09, 38.78, -49.48)
CIE-LCHlch(66.09, 62.86, 308.09°)
OKLaboklab(72.34% 0.0824 -0.1386)
OKLCHoklch(72.34% 0.161 300.7)
XYZxyz(46.0125, 35.4345, 94.8394)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78BFA #CEFA8B
analogous
#8B97FA #B78BFA #EF8BFA
triadic
#B78BFA #FAB78B #8BFAB7
tetradic
#B78BFA #FA8B97 #CEFA8B #8BFAEF
square
#B78BFA #FA8B97 #CEFA8B #8BFAEF
split-complementary
#B78BFA #FAEF8B #97FA8B
monochromatic
#6E16F5 #9350F7 #B78BFA #DBC6FD #EDE2FE

Accessibility & contrast

On white

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

On black

8.09
#B78BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78BFA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78BFA#FFFFFF#000000##000000
##B78BFA1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#AA9EB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78bfa;
/* rgb */ color: rgb(183, 139, 250);
/* oklch */ color: oklch(72.3% 0.161 300.7);
Tailwind
colors: {
  custom: {
    50: '#cfadfc',
    500: '#b78bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b78bfa;
$custom-light: #cfadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b78bfa",
  "rgb": {
    "r": 183,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 263.784,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72337,
    "c": 0.1612,
    "h": 300.7
  },
  "luminance": 0.35435
}

Semantic roles & 50–950 ramp

primary
#B78BFA
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B78BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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