#BB77EB#BB77EB

#BB77EB is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.176 H 309.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#BB77EB
RGBrgb(187, 119, 235)
HSLhsl(275, 74%, 69%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.4%, 49.4%, 0%, 7.8%)
CIE-LABlab(61.44, 47.28, -48.52)
CIE-LCHlch(61.44, 67.74, 314.26°)
OKLaboklab(68.72% 0.1121 -0.1356)
OKLCHoklch(68.72% 0.176 309.6)
XYZxyz(42.0829, 29.7573, 82.1080)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB77EB #A7EB77
analogous
#8177EB #BB77EB #EB77E1
triadic
#BB77EB #EBBB77 #77EBBB
tetradic
#BB77EB #EB8177 #A7EB77 #77E1EB
square
#BB77EB #EB8177 #A7EB77 #77E1EB
split-complementary
#BB77EB #E1EB77 #77EB81
monochromatic
#831ECA #A042E3 #BB77EB #D6ACF3 #F0E2FB

Accessibility & contrast

On white

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

On black

6.95
#BB77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB77EB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB77EB#FFFFFF#000000##000000
##BB77EB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6D95E8
Tritanopia (blue-blind)
#B58AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb77eb;
/* rgb */ color: rgb(187, 119, 235);
/* oklch */ color: oklch(68.7% 0.176 309.6);
Tailwind
colors: {
  custom: {
    50: '#d2a0f2',
    500: '#bb77eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb77eb;
$custom-light: #d2a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb77eb",
  "rgb": {
    "r": 187,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 275.172,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.17594,
    "h": 309.6
  },
  "luminance": 0.29757
}

Semantic roles & 50–950 ramp

primary
#BB77EB
secondary
#DCF0CE
accent
#D60F62
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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