#BB78DC#BB78DC

#BB78DC is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.1% C 0.157 H 313.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BB78DC
RGBrgb(187, 120, 220)
HSLhsl(280, 59%, 67%)
HSVhsv(280, 45%, 86%)
CMYKcmyk(15%, 45.5%, 0%, 13.7%)
CIE-LABlab(60.93, 43.50, -40.97)
CIE-LCHlch(60.93, 59.76, 316.72°)
OKLaboklab(68.1% 0.1088 -0.1137)
OKLCHoklch(68.1% 0.157 313.7)
XYZxyz(40.1261, 29.1660, 71.2121)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DC #99DC78
analogous
#8978DC #BB78DC #DC78CB
triadic
#BB78DC #DCBB78 #78DCBB
tetradic
#BB78DC #DC8978 #99DC78 #78CBDC
square
#BB78DC #DC8978 #99DC78 #78CBDC
split-complementary
#BB78DC #CBDC78 #78DC89
monochromatic
#832DAD #A347CF #BB78DC #D3A9E9 #ECD9F5

Accessibility & contrast

On white

3.07
#BB78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#BB78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DC#FFFFFF#000000##000000
##BB78DC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FE0
Deuteranopia (green-blind)
#7695D9
Tritanopia (blue-blind)
#B887A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78dc;
/* rgb */ color: rgb(187, 120, 220);
/* oklch */ color: oklch(68.1% 0.157 313.7);
Tailwind
colors: {
  custom: {
    50: '#d1a0e7',
    500: '#bb78dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb78dc;
$custom-light: #d1a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78dc",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 280.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68102,
    "c": 0.15737,
    "h": 313.7
  },
  "luminance": 0.29165
}

Semantic roles & 50–950 ramp

primary
#BB78DC
secondary
#D2E8C8
accent
#C61F56
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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