#B78CF9#B78CF9

#B78CF9 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.5% C 0.158 H 300.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B78CF9
RGBrgb(183, 140, 249)
HSLhsl(264, 90%, 76%)
HSVhsv(264, 44%, 98%)
CMYKcmyk(26.5%, 43.8%, 0%, 2.4%)
CIE-LABlab(66.26, 37.99, -48.65)
CIE-LCHlch(66.26, 61.73, 307.99°)
OKLaboklab(72.45% 0.0809 -0.1362)
OKLCHoklch(72.45% 0.158 300.7)
XYZxyz(46.0015, 35.6628, 94.0643)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78CF9 #CEF98C
analogous
#8C98F9 #B78CF9 #EE8CF9
triadic
#B78CF9 #F9B78C #8CF9B7
tetradic
#B78CF9 #F98C98 #CEF98C #8CF9EE
square
#B78CF9 #F98C98 #CEF98C #8CF9EE
split-complementary
#B78CF9 #F9EE8C #98F98C
monochromatic
#6E18F3 #9352F6 #B78CF9 #DBC6FC #EDE2FD

Accessibility & contrast

On white

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

On black

8.13
#B78CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78CF9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78CF9#FFFFFF#000000##000000
##B78CF91.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#AB9FB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78cf9;
/* rgb */ color: rgb(183, 140, 249);
/* oklch */ color: oklch(72.5% 0.158 300.7);
Tailwind
colors: {
  custom: {
    50: '#cfaefc',
    500: '#b78cf9',
    950: '#000000',
  },
}
SCSS
$custom: #b78cf9;
$custom-light: #cfaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#b78cf9",
  "rgb": {
    "r": 183,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 263.67,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72454,
    "c": 0.15838,
    "h": 300.7
  },
  "luminance": 0.35663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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