#BB78F5#BB78F5

#BB78F5 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.186 H 307.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BB78F5
RGBrgb(187, 120, 245)
HSLhsl(272, 86%, 72%)
HSVhsv(272, 51%, 96%)
CMYKcmyk(23.7%, 51%, 0%, 3.9%)
CIE-LABlab(62.16, 48.97, -52.92)
CIE-LCHlch(62.16, 72.10, 312.78°)
OKLaboklab(69.42% 0.1117 -0.1484)
OKLCHoklch(69.42% 0.186 307)
XYZxyz(43.6881, 30.5908, 89.9716)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F5 #B2F578
analogous
#7D78F5 #BB78F5 #F578F1
triadic
#BB78F5 #F5BB78 #78F5BB
tetradic
#BB78F5 #F57D78 #B2F578 #78F1F5
square
#BB78F5 #F57D78 #B2F578 #78F1F5
split-complementary
#BB78F5 #F1F578 #78F57D
monochromatic
#8111E2 #9E3FF1 #BB78F5 #D8B1F9 #F1E3FD

Accessibility & contrast

On white

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

On black

7.12
#BB78F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F5#FFFFFF#000000##000000
##BB78F51.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#B28EAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb78f5;
/* rgb */ color: rgb(187, 120, 245);
/* oklch */ color: oklch(69.4% 0.186 307.0);
Tailwind
colors: {
  custom: {
    50: '#d2a1f9',
    500: '#bb78f5',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f5;
$custom-light: #d2a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f5",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 272.16,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6942,
    "c": 0.18577,
    "h": 307
  },
  "luminance": 0.3059
}

Semantic roles & 50–950 ramp

primary
#BB78F5
secondary
#E3F4D4
accent
#E3036B
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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