#BB78F8#BB78F8

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

Color values

HEX#BB78F8
RGBrgb(187, 120, 248)
HSLhsl(271, 90%, 72%)
HSVhsv(271, 52%, 97%)
CMYKcmyk(24.6%, 51.6%, 0%, 2.7%)
CIE-LABlab(62.32, 49.65, -54.32)
CIE-LCHlch(62.32, 73.60, 312.43°)
OKLaboklab(69.59% 0.1119 -0.1525)
OKLCHoklch(69.59% 0.189 306.3)
XYZxyz(44.1498, 30.7754, 92.4031)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F8 #B5F878
analogous
#7B78F8 #BB78F8 #F878F5
triadic
#BB78F8 #F8BB78 #78F8BB
tetradic
#BB78F8 #F87B78 #B5F878 #78F5F8
square
#BB78F8 #F87B78 #B5F878 #78F5F8
split-complementary
#BB78F8 #F5F878 #78F87B
monochromatic
#800CE9 #9E3EF5 #BB78F8 #D8B2FB #F0E2FD

Accessibility & contrast

On white

2.94
#BB78F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#BB78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F8#FFFFFF#000000##000000
##BB78F81.002.947.167.16
#FFFFFF2.941.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#B18FAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb78f8;
/* rgb */ color: rgb(187, 120, 248);
/* oklch */ color: oklch(69.6% 0.189 306.3);
Tailwind
colors: {
  custom: {
    50: '#d2a1fb',
    500: '#bb78f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f8;
$custom-light: #d2a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f8",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 271.406,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69587,
    "c": 0.18921,
    "h": 306.3
  },
  "luminance": 0.30775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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