#BB78DA#BB78DA

#BB78DA is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.0% C 0.155 H 314.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#BB78DA
RGBrgb(187, 120, 218)
HSLhsl(281, 57%, 66%)
HSVhsv(281, 45%, 85%)
CMYKcmyk(14.2%, 45%, 0%, 14.5%)
CIE-LABlab(60.84, 43.08, -40.00)
CIE-LCHlch(60.84, 58.78, 317.13°)
OKLaboklab(68% 0.1085 -0.1109)
OKLCHoklch(68% 0.155 314.4)
XYZxyz(39.8628, 29.0607, 69.8254)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78DA #97DA78
analogous
#8A78DA #BB78DA #DA78C8
triadic
#BB78DA #DABB78 #78DABB
tetradic
#BB78DA #DA8A78 #97DA78 #78C8DA
square
#BB78DA #DA8A78 #97DA78 #78C8DA
split-complementary
#BB78DA #C8DA78 #78DA8A
monochromatic
#822EA9 #A348CD #BB78DA #D3A8E7 #EBD8F4

Accessibility & contrast

On white

3.08
#BB78DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#BB78DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78DA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78DA#FFFFFF#000000##000000
##BB78DA1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDD
Deuteranopia (green-blind)
#7795D7
Tritanopia (blue-blind)
#B9869F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb78da;
/* rgb */ color: rgb(187, 120, 218);
/* oklch */ color: oklch(68.0% 0.155 314.4);
Tailwind
colors: {
  custom: {
    50: '#d1a0e6',
    500: '#bb78da',
    950: '#000000',
  },
}
SCSS
$custom: #bb78da;
$custom-light: #d1a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78da",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 281.02,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.15513,
    "h": 314.4
  },
  "luminance": 0.2906
}

Semantic roles & 50–950 ramp

primary
#BB78DA
secondary
#D1E7C7
accent
#C52155
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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