#BB78DD#BB78DD

#BB78DD is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.158 H 313.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#BB78DD
RGBrgb(187, 120, 221)
HSLhsl(280, 60%, 67%)
HSVhsv(280, 46%, 87%)
CMYKcmyk(15.4%, 45.7%, 0%, 13.3%)
CIE-LABlab(60.97, 43.71, -41.46)
CIE-LCHlch(60.97, 60.25, 316.52°)
OKLaboklab(68.15% 0.1089 -0.1151)
OKLCHoklch(68.15% 0.158 313.4)
XYZxyz(40.2590, 29.2191, 71.9117)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DD #9ADD78
analogous
#8978DD #BB78DD #DD78CD
triadic
#BB78DD #DDBB78 #78DDBB
tetradic
#BB78DD #DD8978 #9ADD78 #78CDDD
square
#BB78DD #DD8978 #9ADD78 #78CDDD
split-complementary
#BB78DD #CDDD78 #78DD89
monochromatic
#832CAF #A247D1 #BB78DD #D4A9E9 #ECDAF6

Accessibility & contrast

On white

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

On black

6.84
#BB78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DD
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DD#FFFFFF#000000##000000
##BB78DD1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE1
Deuteranopia (green-blind)
#7595DA
Tritanopia (blue-blind)
#B887A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78dd;
/* rgb */ color: rgb(187, 120, 221);
/* oklch */ color: oklch(68.2% 0.158 313.4);
Tailwind
colors: {
  custom: {
    50: '#d1a0e8',
    500: '#bb78dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb78dd;
$custom-light: #d1a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78dd",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 279.802,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68152,
    "c": 0.15849,
    "h": 313.4
  },
  "luminance": 0.29218
}

Semantic roles & 50–950 ramp

primary
#BB78DD
secondary
#D3E9C8
accent
#C71E57
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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