#BB78EB#BB78EB

#BB78EB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.9% C 0.174 H 309.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BB78EB
RGBrgb(187, 120, 235)
HSLhsl(275, 74%, 70%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(61.65, 46.75, -48.19)
CIE-LCHlch(61.65, 67.14, 314.13°)
OKLaboklab(68.88% 0.1108 -0.1347)
OKLCHoklch(68.88% 0.174 309.4)
XYZxyz(42.2025, 29.9965, 82.1478)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78EB #A8EB78
analogous
#8278EB #BB78EB #EB78E1
triadic
#BB78EB #EBBB78 #78EBBB
tetradic
#BB78EB #EB8278 #A8EB78 #78E1EB
square
#BB78EB #EB8278 #A8EB78 #78E1EB
split-complementary
#BB78EB #E1EB78 #78EB82
monochromatic
#831ECB #A043E3 #BB78EB #D6ADF3 #F1E3FB

Accessibility & contrast

On white

3.00
#BB78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BB78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78EB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78EB#FFFFFF#000000##000000
##BB78EB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#B58BA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78eb;
/* rgb */ color: rgb(187, 120, 235);
/* oklch */ color: oklch(68.9% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#d2a1f2',
    500: '#bb78eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb78eb;
$custom-light: #d2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78eb",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 274.957,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68877,
    "c": 0.17435,
    "h": 309.4
  },
  "luminance": 0.29996
}

Semantic roles & 50–950 ramp

primary
#BB78EB
secondary
#DDF0CF
accent
#D60F62
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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