#B78DF2#B78DF2

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

Color values

HEX#B78DF2
RGBrgb(183, 141, 242)
HSLhsl(265, 80%, 75%)
HSVhsv(265, 42%, 95%)
CMYKcmyk(24.4%, 41.7%, 0%, 5.1%)
CIE-LABlab(66.16, 35.79, -44.98)
CIE-LCHlch(66.16, 57.48, 308.51°)
OKLaboklab(72.27% 0.0784 -0.1255)
OKLCHoklch(72.27% 0.148 302)
XYZxyz(45.0768, 35.5278, 88.4700)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B78DF2 #C8F28D
analogous
#8D96F2 #B78DF2 #E98DF2
triadic
#B78DF2 #F2B78D #8DF2B7
tetradic
#B78DF2 #F28D96 #C8F28D #8DF2E9
square
#B78DF2 #F28D96 #C8F28D #8DF2E9
split-complementary
#B78DF2 #F2E98D #96F28D
monochromatic
#721FE5 #9456EC #B78DF2 #DAC4F8 #EEE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B78DF2#FFFFFF#000000##000000
##B78DF21.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)
#73A0F6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#AD9EB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b78df2;
/* rgb */ color: rgb(183, 141, 242);
/* oklch */ color: oklch(72.3% 0.148 302.0);
Tailwind
colors: {
  custom: {
    50: '#ceaff7',
    500: '#b78df2',
    950: '#000000',
  },
}
SCSS
$custom: #b78df2;
$custom-light: #ceaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#b78df2",
  "rgb": {
    "r": 183,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 264.95,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72268,
    "c": 0.14799,
    "h": 302
  },
  "luminance": 0.35528
}

Semantic roles & 50–950 ramp

primary
#B78DF2
secondary
#E8F4D7
accent
#DC0A84
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B78DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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