#BB78DB#BB78DB

#BB78DB is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.1% C 0.156 H 314.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BB78DB
RGBrgb(187, 120, 219)
HSLhsl(281, 58%, 66%)
HSVhsv(281, 45%, 86%)
CMYKcmyk(14.6%, 45.2%, 0%, 14.1%)
CIE-LABlab(60.88, 43.29, -40.48)
CIE-LCHlch(60.88, 59.27, 316.92°)
OKLaboklab(68.05% 0.1086 -0.1123)
OKLCHoklch(68.05% 0.156 314)
XYZxyz(39.9941, 29.1132, 70.5167)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DB #98DB78
analogous
#8A78DB #BB78DB #DB78CA
triadic
#BB78DB #DBBB78 #78DBBB
tetradic
#BB78DB #DB8A78 #98DB78 #78CADB
square
#BB78DB #DB8A78 #98DB78 #78CADB
split-complementary
#BB78DB #CADB78 #78DB8A
monochromatic
#822EAB #A348CE #BB78DB #D3A8E8 #ECD9F5

Accessibility & contrast

On white

3.08
#BB78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BB78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DB#FFFFFF#000000##000000
##BB78DB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#7695D8
Tritanopia (blue-blind)
#B9879F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78db;
/* rgb */ color: rgb(187, 120, 219);
/* oklch */ color: oklch(68.1% 0.156 314.0);
Tailwind
colors: {
  custom: {
    50: '#d1a0e6',
    500: '#bb78db',
    950: '#000000',
  },
}
SCSS
$custom: #bb78db;
$custom-light: #d1a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78db",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 280.606,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68052,
    "c": 0.15625,
    "h": 314
  },
  "luminance": 0.29112
}

Semantic roles & 50–950 ramp

primary
#BB78DB
secondary
#D2E7C7
accent
#C52055
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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