#B78DFD#B78DFD

#B78DFD is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.8% C 0.162 H 299.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#B78DFD
RGBrgb(183, 141, 253)
HSLhsl(263, 97%, 77%)
HSVhsv(263, 44%, 99%)
CMYKcmyk(27.7%, 44.3%, 0%, 0.8%)
CIE-LABlab(66.68, 38.39, -50.18)
CIE-LCHlch(66.68, 63.18, 307.42°)
OKLaboklab(72.83% 0.0802 -0.1406)
OKLCHoklch(72.83% 0.162 299.7)
XYZxyz(46.7788, 36.2086, 97.4339)
Luminance0.3621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78DFD #D3FD8D
analogous
#8D9BFD #B78DFD #EF8DFD
triadic
#B78DFD #FDB78D #8DFDB7
tetradic
#B78DFD #FD8D9B #D3FD8D #8DFDEF
square
#B78DFD #FD8D9B #D3FD8D #8DFDEF
split-complementary
#B78DFD #FDEF8D #9BFD8D
monochromatic
#6B15FB #9151FC #B78DFD #DDC9FE #ECE1FE

Accessibility & contrast

On white

2.55
#B78DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#B78DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B78DFD
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B78DFD#FFFFFF#000000##000000
##B78DFD1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#A9A1B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b78dfd;
/* rgb */ color: rgb(183, 141, 253);
/* oklch */ color: oklch(72.8% 0.162 299.7);
Tailwind
colors: {
  custom: {
    50: '#cfaffe',
    500: '#b78dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b78dfd;
$custom-light: #cfaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b78dfd",
  "rgb": {
    "r": 183,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 262.5,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.16185,
    "h": 299.7
  },
  "luminance": 0.36209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B78DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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