#BB78EA#BB78EA

#BB78EA is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.173 H 309.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#BB78EA
RGBrgb(187, 120, 234)
HSLhsl(275, 73%, 69%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(61.60, 46.53, -47.71)
CIE-LCHlch(61.60, 66.64, 314.28°)
OKLaboklab(68.82% 0.1106 -0.1333)
OKLCHoklch(68.82% 0.173 309.7)
XYZxyz(42.0585, 29.9389, 81.3891)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78EA #A7EA78
analogous
#8278EA #BB78EA #EA78E0
triadic
#BB78EA #EABB78 #78EABB
tetradic
#BB78EA #EA8278 #A7EA78 #78E0EA
square
#BB78EA #EA8278 #A7EA78 #78E0EA
split-complementary
#BB78EA #E0EA78 #78EA82
monochromatic
#831FC8 #A043E2 #BB78EA #D6ADF2 #F0E2FA

Accessibility & contrast

On white

3.01
#BB78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#BB78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78EA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78EA#FFFFFF#000000##000000
##BB78EA1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#B58BA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78ea;
/* rgb */ color: rgb(187, 120, 234);
/* oklch */ color: oklch(68.8% 0.173 309.7);
Tailwind
colors: {
  custom: {
    50: '#d2a1f1',
    500: '#bb78ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ea;
$custom-light: #d2a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ea",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 275.263,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68824,
    "c": 0.17322,
    "h": 309.7
  },
  "luminance": 0.29938
}

Semantic roles & 50–950 ramp

primary
#BB78EA
secondary
#DCEFCE
accent
#D51061
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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