#BB78F9#BB78F9

#BB78F9 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.190 H 306.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#BB78F9
RGBrgb(187, 120, 249)
HSLhsl(271, 91%, 72%)
HSVhsv(271, 52%, 98%)
CMYKcmyk(24.9%, 51.8%, 0%, 2.4%)
CIE-LABlab(62.37, 49.88, -54.79)
CIE-LCHlch(62.37, 74.09, 312.31°)
OKLaboklab(69.64% 0.112 -0.1539)
OKLCHoklch(69.64% 0.19 306)
XYZxyz(44.3053, 30.8376, 93.2224)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F9 #B6F978
analogous
#7B78F9 #BB78F9 #F978F6
triadic
#BB78F9 #F9BB78 #78F9BB
tetradic
#BB78F9 #F97B78 #B6F978 #78F6F9
square
#BB78F9 #F97B78 #B6F978 #78F6F9
split-complementary
#BB78F9 #F6F978 #78F97B
monochromatic
#800AEC #9D3DF6 #BB78F9 #D9B3FC #F0E2FE

Accessibility & contrast

On white

2.93
#BB78F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#BB78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F9#FFFFFF#000000##000000
##BB78F91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#B18FAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb78f9;
/* rgb */ color: rgb(187, 120, 249);
/* oklch */ color: oklch(69.6% 0.190 306.0);
Tailwind
colors: {
  custom: {
    50: '#d2a1fc',
    500: '#bb78f9',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f9;
$custom-light: #d2a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f9",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 271.163,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69643,
    "c": 0.19035,
    "h": 306
  },
  "luminance": 0.30837
}

Semantic roles & 50–950 ramp

primary
#BB78F9
secondary
#E5F6D5
accent
#E6006E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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