#BB76EB#BB76EB

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

Color values

HEX#BB76EB
RGBrgb(187, 118, 235)
HSLhsl(275, 75%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(20.4%, 49.8%, 0%, 7.8%)
CIE-LABlab(61.24, 47.81, -48.84)
CIE-LCHlch(61.24, 68.35, 314.39°)
OKLaboklab(68.57% 0.1134 -0.1366)
OKLCHoklch(68.57% 0.178 309.7)
XYZxyz(41.9645, 29.5205, 82.0685)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76EB #A6EB76
analogous
#8176EB #BB76EB #EB76E0
triadic
#BB76EB #EBBB76 #76EBBB
tetradic
#BB76EB #EB8176 #A6EB76 #76E0EB
square
#BB76EB #EB8176 #A6EB76 #76E0EB
split-complementary
#BB76EB #E0EB76 #76EB81
monochromatic
#831DC9 #A041E3 #BB76EB #D6ABF3 #F0E1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB76EB#FFFFFF#000000##000000
##BB76EB1.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)
#5791EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#B58AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb76eb;
/* rgb */ color: rgb(187, 118, 235);
/* oklch */ color: oklch(68.6% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#d29ff2',
    500: '#bb76eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb76eb;
$custom-light: #d29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76eb",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 275.385,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.17752,
    "h": 309.7
  },
  "luminance": 0.2952
}

Semantic roles & 50–950 ramp

primary
#BB76EB
secondary
#DBEFCD
accent
#D70F61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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