#BB78D2#BB78D2

#BB78D2 is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.6% C 0.146 H 317.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#BB78D2
RGBrgb(187, 120, 210)
HSLhsl(285, 50%, 65%)
HSVhsv(285, 43%, 82%)
CMYKcmyk(11%, 42.9%, 0%, 17.6%)
CIE-LABlab(60.47, 41.41, -36.07)
CIE-LCHlch(60.47, 54.92, 318.95°)
OKLaboklab(67.61% 0.1071 -0.0996)
OKLCHoklch(67.61% 0.146 317.1)
XYZxyz(38.8412, 28.6520, 64.4446)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78D2 #8FD278
analogous
#8E78D2 #BB78D2 #D278BC
triadic
#BB78D2 #D2BB78 #78D2BB
tetradic
#BB78D2 #D28E78 #8FD278 #78BCD2
square
#BB78D2 #D28E78 #8FD278 #78BCD2
split-complementary
#BB78D2 #BCD278 #78D28E
monochromatic
#81349C #A44AC3 #BB78D2 #D2A6E1 #E9D4F1

Accessibility & contrast

On white

3.12
#BB78D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#BB78D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78D2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78D2#FFFFFF#000000##000000
##BB78D21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED5
Deuteranopia (green-blind)
#7B94CF
Tritanopia (blue-blind)
#BB849B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb78d2;
/* rgb */ color: rgb(187, 120, 210);
/* oklch */ color: oklch(67.6% 0.146 317.1);
Tailwind
colors: {
  custom: {
    50: '#d1a0e0',
    500: '#bb78d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb78d2;
$custom-light: #d1a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78d2",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 284.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67613,
    "c": 0.14626,
    "h": 317.1
  },
  "luminance": 0.28651
}

Semantic roles & 50–950 ramp

primary
#BB78D2
secondary
#CBE2C3
accent
#BD284E
background
#FDFAFD
surface
#FAF3FB
border
#D3CDD4
text
#140F15
muted
#837F83

Preview Lab

Preview with #BB78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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