#BB78C2#BB78C2

#BB78C2 is a light, vivid purple. Relative luminance 0.279; OKLCH L 66.9% C 0.129 H 323.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BB78C2
RGBrgb(187, 120, 194)
HSLhsl(294, 38%, 62%)
HSVhsv(294, 38%, 76%)
CMYKcmyk(3.6%, 38.1%, 0%, 23.9%)
CIE-LABlab(59.79, 38.21, -28.09)
CIE-LCHlch(59.79, 47.42, 323.68°)
OKLaboklab(66.88% 0.1038 -0.0768)
OKLCHoklch(66.88% 0.129 323.5)
XYZxyz(36.9466, 27.8942, 54.4664)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78C2 #7FC278
analogous
#9678C2 #BB78C2 #C278A4
triadic
#BB78C2 #C2BB78 #78C2BB
tetradic
#BB78C2 #C29678 #7FC278 #78A4C2
square
#BB78C2 #C29678 #7FC278 #78A4C2
split-complementary
#BB78C2 #A4C278 #78C296
monochromatic
#7D3C84 #A54FAE #BB78C2 #D0A2D5 #E5CCE8

Accessibility & contrast

On white

3.19
#BB78C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BB78C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78C2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78C2#FFFFFF#000000##000000
##BB78C21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#8193C0
Tritanopia (blue-blind)
#BE8094
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb78c2;
/* rgb */ color: rgb(187, 120, 194);
/* oklch */ color: oklch(66.9% 0.129 323.5);
Tailwind
colors: {
  custom: {
    50: '#d1a0d4',
    500: '#bb78c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb78c2;
$custom-light: #d1a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78c2",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 294.324,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.1291,
    "h": 323.5
  },
  "luminance": 0.27893
}

Semantic roles & 50–950 ramp

primary
#BB78C2
secondary
#C0D9BD
accent
#B13541
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F14
muted
#827E83

Preview Lab

Preview with #BB78C2

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

Preview Lab → · Contrast checker → · Palette generator →

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