#BB78B2#BB78B2

#BB78B2 is a light, moderate purple. Relative luminance 0.272; OKLCH L 66.2% C 0.113 H 331.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#BB78B2
RGBrgb(187, 120, 178)
HSLhsl(308, 33%, 60%)
HSVhsv(308, 36%, 73%)
CMYKcmyk(0%, 35.8%, 4.8%, 26.7%)
CIE-LABlab(59.17, 35.20, -19.93)
CIE-LCHlch(59.17, 40.45, 330.49°)
OKLaboklab(66.21% 0.0997 -0.0538)
OKLCHoklch(66.21% 0.113 331.7)
XYZxyz(35.2454, 27.2137, 45.5071)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78B2 #78BB81
analogous
#A378BB #BB78B2 #BB7890
triadic
#BB78B2 #B2BB78 #78B2BB
tetradic
#BB78B2 #BBA378 #78BB81 #7890BB
square
#BB78B2 #BBA378 #78BB81 #7890BB
split-complementary
#BB78B2 #90BB78 #78BBA3
monochromatic
#7B3E73 #A35299 #BB78B2 #D0A1C9 #E4C9E0

Accessibility & contrast

On white

3.26
#BB78B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#BB78B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78B2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78B2#FFFFFF#000000##000000
##BB78B21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B4
Deuteranopia (green-blind)
#8792B0
Tritanopia (blue-blind)
#C07C8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb78b2;
/* rgb */ color: rgb(187, 120, 178);
/* oklch */ color: oklch(66.2% 0.113 331.7);
Tailwind
colors: {
  custom: {
    50: '#d0a0c9',
    500: '#bb78b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb78b2;
$custom-light: #d0a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78b2",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 308.06,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.1133,
    "h": 331.7
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#BB78B2
secondary
#BBD4BE
accent
#AC493A
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140F13
muted
#827E82

Preview Lab

Preview with #BB78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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