#B78DFF#B78DFF

#B78DFF is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.9% C 0.164 H 299.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B78DFF
RGBrgb(183, 141, 255)
HSLhsl(262, 100%, 78%)
HSVhsv(262, 45%, 100%)
CMYKcmyk(28.2%, 44.7%, 0%, 0%)
CIE-LABlab(66.78, 38.87, -51.12)
CIE-LCHlch(66.78, 64.22, 307.25°)
OKLaboklab(72.94% 0.0804 -0.1433)
OKLCHoklch(72.94% 0.164 299.3)
XYZxyz(47.0991, 36.3367, 99.1207)
Luminance0.3634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78DFF #D5FF8D
analogous
#8D9CFF #B78DFF #F08DFF
triadic
#B78DFF #FFB78D #8DFFB7
tetradic
#B78DFF #FF8D9C #D5FF8D #8DFFF0
square
#B78DFF #FF8D9C #D5FF8D #8DFFF0
split-complementary
#B78DFF #FFF08D #9CFF8D
monochromatic
#6A13FF #9050FF #B78DFF #DECAFF #ECE0FF

Accessibility & contrast

On white

2.54
#B78DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B78DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78DFF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78DFF#FFFFFF#000000##000000
##B78DFF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#74A2FC
Tritanopia (blue-blind)
#A9A1BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b78dff;
/* rgb */ color: rgb(183, 141, 255);
/* oklch */ color: oklch(72.9% 0.164 299.3);
Tailwind
colors: {
  custom: {
    50: '#cfafff',
    500: '#b78dff',
    950: '#000000',
  },
}
SCSS
$custom: #b78dff;
$custom-light: #cfafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b78dff",
  "rgb": {
    "r": 183,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 262.105,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72936,
    "c": 0.16436,
    "h": 299.3
  },
  "luminance": 0.36337
}

Semantic roles & 50–950 ramp

primary
#B78DFF
secondary
#EAF7D4
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B78DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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