#BB78E5#BB78E5

#BB78E5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.6% C 0.168 H 311.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BB78E5
RGBrgb(187, 120, 229)
HSLhsl(277, 68%, 68%)
HSVhsv(277, 48%, 90%)
CMYKcmyk(18.3%, 47.6%, 0%, 10.2%)
CIE-LABlab(61.36, 45.43, -45.32)
CIE-LCHlch(61.36, 64.17, 315.07°)
OKLaboklab(68.56% 0.11 -0.1263)
OKLCHoklch(68.56% 0.168 311.1)
XYZxyz(41.3503, 29.6556, 77.6594)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78E5 #A2E578
analogous
#8478E5 #BB78E5 #E578D8
triadic
#BB78E5 #E5BB78 #78E5BB
tetradic
#BB78E5 #E58478 #A2E578 #78D8E5
square
#BB78E5 #E58478 #A2E578 #78D8E5
split-complementary
#BB78E5 #D8E578 #78E584
monochromatic
#8325BE #A145DB #BB78E5 #D5ABEF #EFDFF9

Accessibility & contrast

On white

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

On black

6.93
#BB78E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78E5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78E5#FFFFFF#000000##000000
##BB78E51.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E91E9
Deuteranopia (green-blind)
#7195E2
Tritanopia (blue-blind)
#B689A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb78e5;
/* rgb */ color: rgb(187, 120, 229);
/* oklch */ color: oklch(68.6% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#d1a1ed',
    500: '#bb78e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb78e5;
$custom-light: #d1a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78e5",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 276.881,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68561,
    "c": 0.16754,
    "h": 311.1
  },
  "luminance": 0.29655
}

Semantic roles & 50–950 ramp

primary
#BB78E5
secondary
#D9EDCC
accent
#D0165D
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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