#BB78E2#BB78E2

#BB78E2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.164 H 311.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#BB78E2
RGBrgb(187, 120, 226)
HSLhsl(278, 65%, 68%)
HSVhsv(278, 47%, 89%)
CMYKcmyk(17.3%, 46.9%, 0%, 11.4%)
CIE-LABlab(61.21, 44.78, -43.88)
CIE-LCHlch(61.21, 62.70, 315.59°)
OKLaboklab(68.41% 0.1096 -0.1221)
OKLCHoklch(68.41% 0.164 311.9)
XYZxyz(40.9351, 29.4895, 75.4724)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78E2 #9FE278
analogous
#8678E2 #BB78E2 #E278D4
triadic
#BB78E2 #E2BB78 #78E2BB
tetradic
#BB78E2 #E28678 #9FE278 #78D4E2
square
#BB78E2 #E28678 #9FE278 #78D4E2
split-complementary
#BB78E2 #D4E278 #78E286
monochromatic
#8328B8 #A246D7 #BB78E2 #D4AAED #EEDDF8

Accessibility & contrast

On white

3.04
#BB78E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#BB78E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB78E2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78E2#FFFFFF#000000##000000
##BB78E21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#7395DF
Tritanopia (blue-blind)
#B788A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb78e2;
/* rgb */ color: rgb(187, 120, 226);
/* oklch */ color: oklch(68.4% 0.164 311.9);
Tailwind
colors: {
  custom: {
    50: '#d1a1eb',
    500: '#bb78e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb78e2;
$custom-light: #d1a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78e2",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 277.925,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68406,
    "c": 0.16413,
    "h": 311.9
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#BB78E2
secondary
#D7EBCB
accent
#CC195B
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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