#B78CF7#B78CF7

#B78CF7 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.4% C 0.156 H 301.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B78CF7
RGBrgb(183, 140, 247)
HSLhsl(264, 87%, 76%)
HSVhsv(264, 43%, 97%)
CMYKcmyk(25.9%, 43.3%, 0%, 3.1%)
CIE-LABlab(66.17, 37.52, -47.71)
CIE-LCHlch(66.17, 60.69, 308.18°)
OKLaboklab(72.35% 0.0806 -0.1334)
OKLCHoklch(72.35% 0.156 301.1)
XYZxyz(45.6913, 35.5387, 92.4302)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78CF7 #CCF78C
analogous
#8C96F7 #B78CF7 #EC8CF7
triadic
#B78CF7 #F7B78C #8CF7B7
tetradic
#B78CF7 #F78C96 #CCF78C #8CF7EC
square
#B78CF7 #F78C96 #CCF78C #8CF7EC
split-complementary
#B78CF7 #F7EC8C #96F78C
monochromatic
#6F1AEF #9353F3 #B78CF7 #DBC5FB #EDE2FD

Accessibility & contrast

On white

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

On black

8.11
#B78CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78CF7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78CF7#FFFFFF#000000##000000
##B78CF71.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#AB9EB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78cf7;
/* rgb */ color: rgb(183, 140, 247);
/* oklch */ color: oklch(72.4% 0.156 301.1);
Tailwind
colors: {
  custom: {
    50: '#cfaefa',
    500: '#b78cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b78cf7;
$custom-light: #cfaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#b78cf7",
  "rgb": {
    "r": 183,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 264.112,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.15587,
    "h": 301.1
  },
  "luminance": 0.35539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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