#BB78EC#BB78EC

#BB78EC is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.9% C 0.175 H 309.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#BB78EC
RGBrgb(187, 120, 236)
HSLhsl(275, 75%, 70%)
HSVhsv(275, 49%, 93%)
CMYKcmyk(20.8%, 49.2%, 0%, 7.5%)
CIE-LABlab(61.70, 46.97, -48.67)
CIE-LCHlch(61.70, 67.63, 313.98°)
OKLaboklab(68.93% 0.1109 -0.136)
OKLCHoklch(68.93% 0.175 309.2)
XYZxyz(42.3474, 30.0545, 82.9109)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78EC #A9EC78
analogous
#8178EC #BB78EC #EC78E3
triadic
#BB78EC #ECBB78 #78ECBB
tetradic
#BB78EC #EC8178 #A9EC78 #78E3EC
square
#BB78EC #EC8178 #A9EC78 #78E3EC
split-complementary
#BB78EC #E3EC78 #78EC81
monochromatic
#821DCD #A042E4 #BB78EC #D6AEF4 #F1E3FB

Accessibility & contrast

On white

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

On black

7.01
#BB78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78EC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78EC#FFFFFF#000000##000000
##BB78EC1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb78ec;
/* rgb */ color: rgb(187, 120, 236);
/* oklch */ color: oklch(68.9% 0.175 309.2);
Tailwind
colors: {
  custom: {
    50: '#d2a1f2',
    500: '#bb78ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ec;
$custom-light: #d2a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ec",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 274.655,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.17549,
    "h": 309.2
  },
  "luminance": 0.30054
}

Semantic roles & 50–950 ramp

primary
#BB78EC
secondary
#DDF0D0
accent
#D70E63
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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