#BB78CB#BB78CB

#BB78CB is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.3% C 0.139 H 319.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BB78CB
RGBrgb(187, 120, 203)
HSLhsl(288, 44%, 63%)
HSVhsv(288, 41%, 80%)
CMYKcmyk(7.9%, 40.9%, 0%, 20.4%)
CIE-LABlab(60.17, 39.99, -32.60)
CIE-LCHlch(60.17, 51.60, 320.81°)
OKLaboklab(67.29% 0.1058 -0.0896)
OKLCHoklch(67.29% 0.139 319.7)
XYZxyz(37.9881, 28.3108, 59.9518)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78CB #88CB78
analogous
#9178CB #BB78CB #CB78B1
triadic
#BB78CB #CBBB78 #78CBBB
tetradic
#BB78CB #CB9178 #88CB78 #78B1CB
square
#BB78CB #CB9178 #88CB78 #78B1CB
split-complementary
#BB78CB #B1CB78 #78CB91
monochromatic
#803891 #A54CBA #BB78CB #D1A4DC #E8D0ED

Accessibility & contrast

On white

3.15
#BB78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BB78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78CB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78CB#FFFFFF#000000##000000
##BB78CB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#7E93C8
Tritanopia (blue-blind)
#BC8298
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb78cb;
/* rgb */ color: rgb(187, 120, 203);
/* oklch */ color: oklch(67.3% 0.139 319.7);
Tailwind
colors: {
  custom: {
    50: '#d1a0db',
    500: '#bb78cb',
    950: '#000000',
  },
}
SCSS
$custom: #bb78cb;
$custom-light: #d1a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78cb",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 288.434,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.13863,
    "h": 319.7
  },
  "luminance": 0.2831
}

Semantic roles & 50–950 ramp

primary
#BB78CB
secondary
#C6DEC1
accent
#B82E48
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BB78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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