#BB76E2#BB76E2

#BB76E2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.167 H 312.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#BB76E2
RGBrgb(187, 118, 226)
HSLhsl(278, 65%, 67%)
HSVhsv(278, 48%, 89%)
CMYKcmyk(17.3%, 47.8%, 0%, 11.4%)
CIE-LABlab(60.79, 45.85, -44.54)
CIE-LCHlch(60.79, 63.92, 315.83°)
OKLaboklab(68.1% 0.1124 -0.124)
OKLCHoklch(68.1% 0.167 312.2)
XYZxyz(40.6970, 29.0135, 75.3931)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76E2 #9DE276
analogous
#8576E2 #BB76E2 #E276D3
triadic
#BB76E2 #E2BB76 #76E2BB
tetradic
#BB76E2 #E28576 #9DE276 #76D3E2
square
#BB76E2 #E28576 #9DE276 #76D3E2
split-complementary
#BB76E2 #D3E276 #76E285
monochromatic
#8327B7 #A243D7 #BB76E2 #D4A9ED #EDDBF7

Accessibility & contrast

On white

3.09
#BB76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#BB76E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB76E2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB76E2#FFFFFF#000000##000000
##BB76E21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#B787A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb76e2;
/* rgb */ color: rgb(187, 118, 226);
/* oklch */ color: oklch(68.1% 0.167 312.2);
Tailwind
colors: {
  custom: {
    50: '#d19feb',
    500: '#bb76e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb76e2;
$custom-light: #d19feb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76e2",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 278.333,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68095,
    "c": 0.16738,
    "h": 312.2
  },
  "luminance": 0.29013
}

Semantic roles & 50–950 ramp

primary
#BB76E2
secondary
#D5EBC9
accent
#CD195A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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