#BB78DE#BB78DE

#BB78DE is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.160 H 313.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#BB78DE
RGBrgb(187, 120, 222)
HSLhsl(279, 61%, 67%)
HSVhsv(279, 46%, 87%)
CMYKcmyk(15.8%, 45.9%, 0%, 12.9%)
CIE-LABlab(61.02, 43.93, -41.94)
CIE-LCHlch(61.02, 60.73, 316.32°)
OKLaboklab(68.2% 0.1091 -0.1165)
OKLCHoklch(68.2% 0.16 313.1)
XYZxyz(40.3926, 29.2726, 72.6154)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DE #9BDE78
analogous
#8878DE #BB78DE #DE78CE
triadic
#BB78DE #DEBB78 #78DEBB
tetradic
#BB78DE #DE8878 #9BDE78 #78CEDE
square
#BB78DE #DE8878 #9BDE78 #78CEDE
split-complementary
#BB78DE #CEDE78 #78DE88
monochromatic
#832BB0 #A247D2 #BB78DE #D4A9EA #EDDAF6

Accessibility & contrast

On white

3.06
#BB78DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#BB78DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DE#FFFFFF#000000##000000
##BB78DE1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E2
Deuteranopia (green-blind)
#7595DB
Tritanopia (blue-blind)
#B887A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78de;
/* rgb */ color: rgb(187, 120, 222);
/* oklch */ color: oklch(68.2% 0.160 313.1);
Tailwind
colors: {
  custom: {
    50: '#d1a0e8',
    500: '#bb78de',
    950: '#000000',
  },
}
SCSS
$custom: #bb78de;
$custom-light: #d1a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78de",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 279.412,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.15962,
    "h": 313.1
  },
  "luminance": 0.29272
}

Semantic roles & 50–950 ramp

primary
#BB78DE
secondary
#D4E9C9
accent
#C81D58
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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