#BB78EE#BB78EE

#BB78EE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.178 H 308.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BB78EE
RGBrgb(187, 120, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(61.80, 47.41, -49.62)
CIE-LCHlch(61.80, 68.62, 313.70°)
OKLaboklab(69.04% 0.1111 -0.1388)
OKLCHoklch(69.04% 0.178 308.7)
XYZxyz(42.6396, 30.1714, 84.4497)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78EE #ABEE78
analogous
#8078EE #BB78EE #EE78E6
triadic
#BB78EE #EEBB78 #78EEBB
tetradic
#BB78EE #EE8078 #ABEE78 #78E6EE
square
#BB78EE #EE8078 #ABEE78 #78E6EE
split-complementary
#BB78EE #E6EE78 #78EE80
monochromatic
#821AD1 #A042E7 #BB78EE #D6AEF5 #F1E4FC

Accessibility & contrast

On white

2.99
#BB78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#BB78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78EE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78EE#FFFFFF#000000##000000
##BB78EE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#B48CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78ee;
/* rgb */ color: rgb(187, 120, 238);
/* oklch */ color: oklch(69.0% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#d2a1f4',
    500: '#bb78ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ee;
$custom-light: #d2a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ee",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 274.068,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69038,
    "c": 0.17777,
    "h": 308.7
  },
  "luminance": 0.30171
}

Semantic roles & 50–950 ramp

primary
#BB78EE
secondary
#DFF1D1
accent
#DA0C65
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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