#BB78CE#BB78CE

#BB78CE is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.4% C 0.142 H 318.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#BB78CE
RGBrgb(187, 120, 206)
HSLhsl(287, 47%, 64%)
HSVhsv(287, 42%, 81%)
CMYKcmyk(9.2%, 41.7%, 0%, 19.2%)
CIE-LABlab(60.30, 40.60, -34.09)
CIE-LCHlch(60.30, 53.01, 319.98°)
OKLaboklab(67.42% 0.1063 -0.0939)
OKLCHoklch(67.42% 0.142 318.5)
XYZxyz(38.3491, 28.4552, 61.8528)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78CE #8BCE78
analogous
#9078CE #BB78CE #CE78B6
triadic
#BB78CE #CEBB78 #78CEBB
tetradic
#BB78CE #CE9078 #8BCE78 #78B6CE
square
#BB78CE #CE9078 #8BCE78 #78B6CE
split-complementary
#BB78CE #B6CE78 #78CE90
monochromatic
#803695 #A44BBE #BB78CE #D2A5DE #E8D2EF

Accessibility & contrast

On white

3.14
#BB78CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#BB78CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78CE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78CE#FFFFFF#000000##000000
##BB78CE1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD1
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#BB8399
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb78ce;
/* rgb */ color: rgb(187, 120, 206);
/* oklch */ color: oklch(67.4% 0.142 318.5);
Tailwind
colors: {
  custom: {
    50: '#d1a0dd',
    500: '#bb78ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ce;
$custom-light: #d1a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ce",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 286.744,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.14188,
    "h": 318.5
  },
  "luminance": 0.28454
}

Semantic roles & 50–950 ramp

primary
#BB78CE
secondary
#C8E0C2
accent
#BA2C4B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140F15
muted
#837E83

Preview Lab

Preview with #BB78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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