#BB78F2#BB78F2

#BB78F2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.3% C 0.182 H 307.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#BB78F2
RGBrgb(187, 120, 242)
HSLhsl(273, 82%, 71%)
HSVhsv(273, 50%, 95%)
CMYKcmyk(22.7%, 50.4%, 0%, 5.1%)
CIE-LABlab(62.01, 48.30, -51.51)
CIE-LCHlch(62.01, 70.61, 313.16°)
OKLaboklab(69.26% 0.1115 -0.1443)
OKLCHoklch(69.26% 0.182 307.7)
XYZxyz(43.2338, 30.4090, 87.5791)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78F2 #AFF278
analogous
#7E78F2 #BB78F2 #F278EC
triadic
#BB78F2 #F2BB78 #78F2BB
tetradic
#BB78F2 #F27E78 #AFF278 #78ECF2
square
#BB78F2 #F27E78 #AFF278 #78ECF2
split-complementary
#BB78F2 #ECF278 #78F27E
monochromatic
#8215DB #9F40ED #BB78F2 #D7B0F7 #F1E3FC

Accessibility & contrast

On white

2.97
#BB78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#BB78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78F2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78F2#FFFFFF#000000##000000
##BB78F21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#B38DAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb78f2;
/* rgb */ color: rgb(187, 120, 242);
/* oklch */ color: oklch(69.3% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#d2a1f7',
    500: '#bb78f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb78f2;
$custom-light: #d2a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78f2",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 272.951,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.18234,
    "h": 307.7
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#BB78F2
secondary
#E1F3D3
accent
#DF0768
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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