#BB78E8#BB78E8

#BB78E8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.171 H 310.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#BB78E8
RGBrgb(187, 120, 232)
HSLhsl(276, 71%, 69%)
HSVhsv(276, 48%, 91%)
CMYKcmyk(19.4%, 48.3%, 0%, 9%)
CIE-LABlab(61.50, 46.09, -46.76)
CIE-LCHlch(61.50, 65.65, 314.59°)
OKLaboklab(68.72% 0.1104 -0.1305)
OKLCHoklch(68.72% 0.171 310.2)
XYZxyz(41.7728, 29.8246, 79.8844)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78E8 #A5E878
analogous
#8378E8 #BB78E8 #E878DD
triadic
#BB78E8 #E8BB78 #78E8BB
tetradic
#BB78E8 #E88378 #A5E878 #78DDE8
square
#BB78E8 #E88378 #A5E878 #78DDE8
split-complementary
#BB78E8 #DDE878 #78E883
monochromatic
#8321C4 #A144DF #BB78E8 #D5ACF1 #F0E1FA

Accessibility & contrast

On white

3.02
#BB78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#BB78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78E8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78E8#FFFFFF#000000##000000
##BB78E81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#6F96E5
Tritanopia (blue-blind)
#B68AA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb78e8;
/* rgb */ color: rgb(187, 120, 232);
/* oklch */ color: oklch(68.7% 0.171 310.2);
Tailwind
colors: {
  custom: {
    50: '#d2a1f0',
    500: '#bb78e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb78e8;
$custom-light: #d2a1f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78e8",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 275.893,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68718,
    "c": 0.17093,
    "h": 310.2
  },
  "luminance": 0.29824
}

Semantic roles & 50–950 ramp

primary
#BB78E8
secondary
#DBEECD
accent
#D31360
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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