#BB78B1#BB78B1

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

Color values

HEX#BB78B1
RGBrgb(187, 120, 177)
HSLhsl(309, 33%, 60%)
HSVhsv(309, 36%, 73%)
CMYKcmyk(0%, 35.8%, 5.3%, 26.7%)
CIE-LABlab(59.13, 35.02, -19.41)
CIE-LCHlch(59.13, 40.04, 331.00°)
OKLaboklab(66.17% 0.0995 -0.0523)
OKLCHoklch(66.17% 0.112 332.3)
XYZxyz(35.1454, 27.1737, 44.9802)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78B1 #78BB82
analogous
#A378BB #BB78B1 #BB7890
triadic
#BB78B1 #B1BB78 #78B1BB
tetradic
#BB78B1 #BBA378 #78BB82 #7890BB
square
#BB78B1 #BBA378 #78BB82 #7890BB
split-complementary
#BB78B1 #90BB78 #78BBA3
monochromatic
#7B3E72 #A35297 #BB78B1 #D0A1C9 #E4C9E0

Accessibility & contrast

On white

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

On black

6.43
#BB78B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78B1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78B1#FFFFFF#000000##000000
##BB78B11.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#8792AF
Tritanopia (blue-blind)
#C17C8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb78b1;
/* rgb */ color: rgb(187, 120, 177);
/* oklch */ color: oklch(66.2% 0.112 332.3);
Tailwind
colors: {
  custom: {
    50: '#d0a0c8',
    500: '#bb78b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb78b1;
$custom-light: #d0a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78b1",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 308.955,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66166,
    "c": 0.11237,
    "h": 332.3
  },
  "luminance": 0.27172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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