#BB78EF#BB78EF

#BB78EF is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.179 H 308.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BB78EF
RGBrgb(187, 120, 239)
HSLhsl(274, 79%, 70%)
HSVhsv(274, 50%, 94%)
CMYKcmyk(21.8%, 49.8%, 0%, 6.3%)
CIE-LABlab(61.85, 47.63, -50.09)
CIE-LCHlch(61.85, 69.12, 313.56°)
OKLaboklab(69.09% 0.1112 -0.1402)
OKLCHoklch(69.09% 0.179 308.4)
XYZxyz(42.7869, 30.2303, 85.2256)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78EF #ACEF78
analogous
#8078EF #BB78EF #EF78E7
triadic
#BB78EF #EFBB78 #78EFBB
tetradic
#BB78EF #EF8078 #ACEF78 #78E7EF
square
#BB78EF #EF8078 #ACEF78 #78E7EF
split-complementary
#BB78EF #E7EF78 #78EF80
monochromatic
#8219D4 #9F41E9 #BB78EF #D7AFF5 #F1E4FC

Accessibility & contrast

On white

2.98
#BB78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BB78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78EF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78EF#FFFFFF#000000##000000
##BB78EF1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#B48CA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78ef;
/* rgb */ color: rgb(187, 120, 239);
/* oklch */ color: oklch(69.1% 0.179 308.4);
Tailwind
colors: {
  custom: {
    50: '#d2a1f5',
    500: '#bb78ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ef;
$custom-light: #d2a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ef",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 273.782,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.17891,
    "h": 308.4
  },
  "luminance": 0.3023
}

Semantic roles & 50–950 ramp

primary
#BB78EF
secondary
#DFF2D1
accent
#DB0A66
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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