#BB78F3#BB78F3

#BB78F3 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.183 H 307.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#BB78F3
RGBrgb(187, 120, 243)
HSLhsl(273, 84%, 71%)
HSVhsv(273, 51%, 95%)
CMYKcmyk(23%, 50.6%, 0%, 4.7%)
CIE-LABlab(62.06, 48.52, -51.98)
CIE-LCHlch(62.06, 71.11, 313.03°)
OKLaboklab(69.31% 0.1115 -0.1457)
OKLCHoklch(69.31% 0.183 307.4)
XYZxyz(43.3844, 30.4693, 88.3723)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F3 #B0F378
analogous
#7D78F3 #BB78F3 #F378ED
triadic
#BB78F3 #F3BB78 #78F3BB
tetradic
#BB78F3 #F37D78 #B0F378 #78EDF3
square
#BB78F3 #F37D78 #B0F378 #78EDF3
split-complementary
#BB78F3 #EDF378 #78F37D
monochromatic
#8114DD #9F40EE #BB78F3 #D7B0F8 #F1E3FD

Accessibility & contrast

On white

2.96
#BB78F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#BB78F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F3#FFFFFF#000000##000000
##BB78F31.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F7
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#B38DAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb78f3;
/* rgb */ color: rgb(187, 120, 243);
/* oklch */ color: oklch(69.3% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#d2a1f7',
    500: '#bb78f3',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f3;
$custom-light: #d2a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f3",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 272.683,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.18349,
    "h": 307.4
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#BB78F3
secondary
#E2F4D3
accent
#E00569
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F3

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

Preview Lab → · Contrast checker → · Palette generator →

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