#B78BF7#B78BF7

#B78BF7 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.2% C 0.157 H 301.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B78BF7
RGBrgb(183, 139, 247)
HSLhsl(264, 87%, 76%)
HSVhsv(264, 44%, 97%)
CMYKcmyk(25.9%, 43.7%, 0%, 3.1%)
CIE-LABlab(65.94, 38.07, -48.06)
CIE-LCHlch(65.94, 61.31, 308.39°)
OKLaboklab(72.18% 0.0819 -0.1344)
OKLCHoklch(72.18% 0.157 301.4)
XYZxyz(45.5458, 35.2478, 92.3817)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78BF7 #CBF78B
analogous
#8B95F7 #B78BF7 #ED8BF7
triadic
#B78BF7 #F7B78B #8BF7B7
tetradic
#B78BF7 #F78B95 #CBF78B #8BF7ED
square
#B78BF7 #F78B95 #CBF78B #8BF7ED
split-complementary
#B78BF7 #F7ED8B #95F78B
monochromatic
#7018EF #9352F3 #B78BF7 #DBC4FB #EDE2FD

Accessibility & contrast

On white

2.61
#B78BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B78BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78BF7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78BF7#FFFFFF#000000##000000
##B78BF71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#AB9EB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b78bf7;
/* rgb */ color: rgb(183, 139, 247);
/* oklch */ color: oklch(72.2% 0.157 301.4);
Tailwind
colors: {
  custom: {
    50: '#cfadfa',
    500: '#b78bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b78bf7;
$custom-light: #cfadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b78bf7",
  "rgb": {
    "r": 183,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 264.444,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72182,
    "c": 0.15744,
    "h": 301.4
  },
  "luminance": 0.35248
}

Semantic roles & 50–950 ramp

primary
#B78BF7
secondary
#E8F5D6
accent
#E40288
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B78BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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