#BB78F0#BB78F0

#BB78F0 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.180 H 308.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BB78F0
RGBrgb(187, 120, 240)
HSLhsl(274, 80%, 71%)
HSVhsv(274, 50%, 94%)
CMYKcmyk(22.1%, 50%, 0%, 5.9%)
CIE-LABlab(61.90, 47.85, -50.56)
CIE-LCHlch(61.90, 69.62, 313.42°)
OKLaboklab(69.15% 0.1113 -0.1416)
OKLCHoklch(69.15% 0.18 308.2)
XYZxyz(42.9351, 30.2896, 86.0058)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F0 #ADF078
analogous
#7F78F0 #BB78F0 #F078E9
triadic
#BB78F0 #F0BB78 #78F0BB
tetradic
#BB78F0 #F07F78 #ADF078 #78E9F0
square
#BB78F0 #F07F78 #ADF078 #78E9F0
split-complementary
#BB78F0 #E9F078 #78F07F
monochromatic
#8218D6 #9F41EA #BB78F0 #D7AFF6 #F1E3FC

Accessibility & contrast

On white

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

On black

7.06
#BB78F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F0#FFFFFF#000000##000000
##BB78F01.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F4
Deuteranopia (green-blind)
#6A96ED
Tritanopia (blue-blind)
#B48DA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb78f0;
/* rgb */ color: rgb(187, 120, 240);
/* oklch */ color: oklch(69.1% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#d2a1f5',
    500: '#bb78f0',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f0;
$custom-light: #d2a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f0",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 273.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69146,
    "c": 0.18006,
    "h": 308.2
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

primary
#BB78F0
secondary
#E0F2D2
accent
#DC0966
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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