#BB78F6#BB78F6

#BB78F6 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.187 H 306.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BB78F6
RGBrgb(187, 120, 246)
HSLhsl(272, 88%, 72%)
HSVhsv(272, 51%, 96%)
CMYKcmyk(24%, 51.2%, 0%, 3.5%)
CIE-LABlab(62.21, 49.20, -53.39)
CIE-LCHlch(62.21, 72.60, 312.66°)
OKLaboklab(69.48% 0.1118 -0.1498)
OKLCHoklch(69.48% 0.187 306.7)
XYZxyz(43.8411, 30.6520, 90.7777)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F6 #B3F678
analogous
#7C78F6 #BB78F6 #F678F2
triadic
#BB78F6 #F6BB78 #78F6BB
tetradic
#BB78F6 #F67C78 #B3F678 #78F2F6
square
#BB78F6 #F67C78 #B3F678 #78F2F6
split-complementary
#BB78F6 #F2F678 #78F67C
monochromatic
#810FE4 #9E3FF2 #BB78F6 #D8B1FA #F1E2FD

Accessibility & contrast

On white

2.95
#BB78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BB78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F6#FFFFFF#000000##000000
##BB78F61.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#B28EAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb78f6;
/* rgb */ color: rgb(187, 120, 246);
/* oklch */ color: oklch(69.5% 0.187 306.7);
Tailwind
colors: {
  custom: {
    50: '#d2a1fa',
    500: '#bb78f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f6;
$custom-light: #d2a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f6",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 271.905,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69476,
    "c": 0.18692,
    "h": 306.7
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#BB78F6
secondary
#E4F5D5
accent
#E4016C
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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