#BB78BB#BB78BB

#BB78BB is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.6% C 0.122 H 326.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BB78BB
RGBrgb(187, 120, 187)
HSLhsl(300, 33%, 60%)
HSVhsv(300, 36%, 73%)
CMYKcmyk(0%, 35.8%, 0%, 26.7%)
CIE-LABlab(59.51, 36.87, -24.54)
CIE-LCHlch(59.51, 44.29, 326.36°)
OKLaboklab(66.58% 0.1021 -0.0667)
OKLCHoklch(66.58% 0.122 326.8)
XYZxyz(36.1789, 27.5871, 50.4232)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78BB #78BB78
analogous
#9978BB #BB78BB #BB7899
triadic
#BB78BB #BBBB78 #78BBBB
tetradic
#BB78BB #BB9978 #78BB78 #7899BB
square
#BB78BB #BB9978 #78BB78 #7899BB
split-complementary
#BB78BB #99BB78 #78BB99
monochromatic
#7B3E7B #A352A3 #BB78BB #D0A1D0 #E4C9E4

Accessibility & contrast

On white

3.22
#BB78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BB78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78BB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78BB#FFFFFF#000000##000000
##BB78BB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABD
Deuteranopia (green-blind)
#8492B9
Tritanopia (blue-blind)
#BF7E91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb78bb;
/* rgb */ color: rgb(187, 120, 187);
/* oklch */ color: oklch(66.6% 0.122 326.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0cf',
    500: '#bb78bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb78bb;
$custom-light: #d0a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78bb",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.12198,
    "h": 326.8
  },
  "luminance": 0.27586
}

Semantic roles & 50–950 ramp

primary
#BB78BB
secondary
#BBD4BB
accent
#AC3A3A
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BB78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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