#BB77EC#BB77EC

#BB77EC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.177 H 309.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#BB77EC
RGBrgb(187, 119, 236)
HSLhsl(275, 75%, 70%)
HSVhsv(275, 50%, 93%)
CMYKcmyk(20.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(61.49, 47.50, -48.99)
CIE-LCHlch(61.49, 68.24, 314.11°)
OKLaboklab(68.78% 0.1122 -0.137)
OKLCHoklch(68.78% 0.177 309.3)
XYZxyz(42.2278, 29.8152, 82.8710)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77EC #A8EC77
analogous
#8177EC #BB77EC #EC77E2
triadic
#BB77EC #ECBB77 #77ECBB
tetradic
#BB77EC #EC8177 #A8EC77 #77E2EC
square
#BB77EC #EC8177 #A8EC77 #77E2EC
split-complementary
#BB77EC #E2EC77 #77EC81
monochromatic
#831DCC #A041E4 #BB77EC #D6ADF4 #F1E2FB

Accessibility & contrast

On white

3.02
#BB77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#BB77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77EC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77EC#FFFFFF#000000##000000
##BB77EC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6C96E9
Tritanopia (blue-blind)
#B58BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb77ec;
/* rgb */ color: rgb(187, 119, 236);
/* oklch */ color: oklch(68.8% 0.177 309.3);
Tailwind
colors: {
  custom: {
    50: '#d2a0f2',
    500: '#bb77ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb77ec;
$custom-light: #d2a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77ec",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 274.872,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.17708,
    "h": 309.3
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#BB77EC
secondary
#DDF0CF
accent
#D80E62
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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