#BB78DF#BB78DF

#BB78DF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.161 H 312.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#BB78DF
RGBrgb(187, 120, 223)
HSLhsl(279, 62%, 67%)
HSVhsv(279, 46%, 87%)
CMYKcmyk(16.1%, 46.2%, 0%, 12.5%)
CIE-LABlab(61.07, 44.14, -42.43)
CIE-LCHlch(61.07, 61.22, 316.13°)
OKLaboklab(68.25% 0.1092 -0.1179)
OKLCHoklch(68.25% 0.161 312.8)
XYZxyz(40.5270, 29.3263, 73.3234)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DF #9CDF78
analogous
#8778DF #BB78DF #DF78D0
triadic
#BB78DF #DFBB78 #78DFBB
tetradic
#BB78DF #DF8778 #9CDF78 #78D0DF
square
#BB78DF #DF8778 #9CDF78 #78D0DF
split-complementary
#BB78DF #D0DF78 #78DF87
monochromatic
#832AB2 #A247D3 #BB78DF #D4A9EB #EDDBF6

Accessibility & contrast

On white

3.06
#BB78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#BB78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DF#FFFFFF#000000##000000
##BB78DF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#7495DC
Tritanopia (blue-blind)
#B888A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78df;
/* rgb */ color: rgb(187, 120, 223);
/* oklch */ color: oklch(68.3% 0.161 312.8);
Tailwind
colors: {
  custom: {
    50: '#d1a0e9',
    500: '#bb78df',
    950: '#000000',
  },
}
SCSS
$custom: #bb78df;
$custom-light: #d1a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78df",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 279.029,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.16074,
    "h": 312.8
  },
  "luminance": 0.29325
}

Semantic roles & 50–950 ramp

primary
#BB78DF
secondary
#D5EAC9
accent
#C91C59
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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