#BB76DC#BB76DC

#BB76DC is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.8% C 0.161 H 314.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BB76DC
RGBrgb(187, 118, 220)
HSLhsl(281, 59%, 66%)
HSVhsv(281, 46%, 86%)
CMYKcmyk(15%, 46.4%, 0%, 13.7%)
CIE-LABlab(60.51, 44.57, -41.63)
CIE-LCHlch(60.51, 60.99, 316.95°)
OKLaboklab(67.79% 0.1116 -0.1156)
OKLCHoklch(67.79% 0.161 314)
XYZxyz(39.8881, 28.6899, 71.1327)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76DC #97DC76
analogous
#8876DC #BB76DC #DC76CA
triadic
#BB76DC #DCBB76 #76DCBB
tetradic
#BB76DC #DC8876 #97DC76 #76CADC
square
#BB76DC #DC8876 #97DC76 #76CADC
split-complementary
#BB76DC #CADC76 #76DC88
monochromatic
#822CAC #A345D0 #BB76DC #D3A7E8 #EBD7F5

Accessibility & contrast

On white

3.12
#BB76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BB76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB76DC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB76DC#FFFFFF#000000##000000
##BB76DC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7494D9
Tritanopia (blue-blind)
#B8859F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb76dc;
/* rgb */ color: rgb(187, 118, 220);
/* oklch */ color: oklch(67.8% 0.161 314.0);
Tailwind
colors: {
  custom: {
    50: '#d19fe7',
    500: '#bb76dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb76dc;
$custom-light: #d19fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76dc",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 280.588,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67788,
    "c": 0.16068,
    "h": 314
  },
  "luminance": 0.28689
}

Semantic roles & 50–950 ramp

primary
#BB76DC
secondary
#D1E8C6
accent
#C71F55
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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