#BB78D9#BB78D9

#BB78D9 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.0% C 0.154 H 314.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#BB78D9
RGBrgb(187, 120, 217)
HSLhsl(281, 56%, 66%)
HSVhsv(281, 45%, 85%)
CMYKcmyk(13.8%, 44.7%, 0%, 14.9%)
CIE-LABlab(60.79, 42.87, -39.51)
CIE-LCHlch(60.79, 58.30, 317.34°)
OKLaboklab(67.95% 0.1083 -0.1095)
OKLCHoklch(67.95% 0.154 314.7)
XYZxyz(39.7324, 29.0085, 69.1384)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78D9 #96D978
analogous
#8A78D9 #BB78D9 #D978C6
triadic
#BB78D9 #D9BB78 #78D9BB
tetradic
#BB78D9 #D98A78 #96D978 #78C6D9
square
#BB78D9 #D98A78 #96D978 #78C6D9
split-complementary
#BB78D9 #C6D978 #78D98A
monochromatic
#822FA7 #A348CC #BB78D9 #D3A8E6 #EBD8F4

Accessibility & contrast

On white

3.09
#BB78D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#BB78D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78D9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78D9#FFFFFF#000000##000000
##BB78D91.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDC
Deuteranopia (green-blind)
#7795D6
Tritanopia (blue-blind)
#B9869E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78d9;
/* rgb */ color: rgb(187, 120, 217);
/* oklch */ color: oklch(68.0% 0.154 314.7);
Tailwind
colors: {
  custom: {
    50: '#d1a0e5',
    500: '#bb78d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb78d9;
$custom-light: #d1a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78d9",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 281.443,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67953,
    "c": 0.15401,
    "h": 314.7
  },
  "luminance": 0.29007
}

Semantic roles & 50–950 ramp

primary
#BB78D9
secondary
#D0E6C6
accent
#C42254
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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