#BB78E4#BB78E4

#BB78E4 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.166 H 311.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#BB78E4
RGBrgb(187, 120, 228)
HSLhsl(277, 67%, 68%)
HSVhsv(277, 47%, 89%)
CMYKcmyk(18%, 47.4%, 0%, 10.6%)
CIE-LABlab(61.31, 45.22, -44.84)
CIE-LCHlch(61.31, 63.68, 315.24°)
OKLaboklab(68.51% 0.1099 -0.1249)
OKLCHoklch(68.51% 0.166 311.3)
XYZxyz(41.2111, 29.6000, 76.9261)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78E4 #A1E478
analogous
#8578E4 #BB78E4 #E478D7
triadic
#BB78E4 #E4BB78 #78E4BB
tetradic
#BB78E4 #E48578 #A1E478 #78D7E4
square
#BB78E4 #E48578 #A1E478 #78D7E4
split-complementary
#BB78E4 #D7E478 #78E485
monochromatic
#8326BC #A145DA #BB78E4 #D5ABEE #EEDEF8

Accessibility & contrast

On white

3.03
#BB78E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#BB78E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78E4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78E4#FFFFFF#000000##000000
##BB78E41.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#7295E1
Tritanopia (blue-blind)
#B789A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb78e4;
/* rgb */ color: rgb(187, 120, 228);
/* oklch */ color: oklch(68.5% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#d1a1ed',
    500: '#bb78e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb78e4;
$custom-light: #d1a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78e4",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 277.222,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68509,
    "c": 0.1664,
    "h": 311.3
  },
  "luminance": 0.29599
}

Semantic roles & 50–950 ramp

primary
#BB78E4
secondary
#D8ECCC
accent
#CF175D
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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