#BB78E9#BB78E9

#BB78E9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.172 H 310.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#BB78E9
RGBrgb(187, 120, 233)
HSLhsl(276, 72%, 69%)
HSVhsv(276, 48%, 91%)
CMYKcmyk(19.7%, 48.5%, 0%, 8.6%)
CIE-LABlab(61.55, 46.31, -47.24)
CIE-LCHlch(61.55, 66.15, 314.43°)
OKLaboklab(68.77% 0.1105 -0.1319)
OKLCHoklch(68.77% 0.172 310)
XYZxyz(41.9152, 29.8816, 80.6346)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78E9 #A6E978
analogous
#8378E9 #BB78E9 #E978DF
triadic
#BB78E9 #E9BB78 #78E9BB
tetradic
#BB78E9 #E98378 #A6E978 #78DFE9
square
#BB78E9 #E98378 #A6E978 #78DFE9
split-complementary
#BB78E9 #DFE978 #78E983
monochromatic
#8320C6 #A043E0 #BB78E9 #D6ADF2 #F0E1FA

Accessibility & contrast

On white

3.01
#BB78E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#BB78E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78E9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78E9#FFFFFF#000000##000000
##BB78E91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92ED
Deuteranopia (green-blind)
#6F96E6
Tritanopia (blue-blind)
#B58AA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78e9;
/* rgb */ color: rgb(187, 120, 233);
/* oklch */ color: oklch(68.8% 0.172 310.0);
Tailwind
colors: {
  custom: {
    50: '#d2a1f0',
    500: '#bb78e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb78e9;
$custom-light: #d2a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78e9",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 275.575,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68771,
    "c": 0.17207,
    "h": 310
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#BB78E9
secondary
#DBEFCE
accent
#D41161
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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