#BB76E1#BB76E1

#BB76E1 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.166 H 312.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#BB76E1
RGBrgb(187, 118, 225)
HSLhsl(279, 64%, 67%)
HSVhsv(279, 48%, 88%)
CMYKcmyk(16.9%, 47.6%, 0%, 11.8%)
CIE-LABlab(60.75, 45.64, -44.05)
CIE-LCHlch(60.75, 63.43, 316.01°)
OKLaboklab(68.04% 0.1123 -0.1226)
OKLCHoklch(68.04% 0.166 312.5)
XYZxyz(40.5602, 28.9588, 74.6725)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76E1 #9CE176
analogous
#8676E1 #BB76E1 #E176D1
triadic
#BB76E1 #E1BB76 #76E1BB
tetradic
#BB76E1 #E18676 #9CE176 #76D1E1
square
#BB76E1 #E18676 #9CE176 #76D1E1
split-complementary
#BB76E1 #D1E176 #76E186
monochromatic
#8328B5 #A244D6 #BB76E1 #D4A8EC #EDDAF7

Accessibility & contrast

On white

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

On black

6.79
#BB76E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB76E1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB76E1#FFFFFF#000000##000000
##BB76E11.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#7294DE
Tritanopia (blue-blind)
#B787A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb76e1;
/* rgb */ color: rgb(187, 118, 225);
/* oklch */ color: oklch(68.0% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#d19feb',
    500: '#bb76e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb76e1;
$custom-light: #d19feb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76e1",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 278.692,
    "s": 64.072,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68043,
    "c": 0.16627,
    "h": 312.5
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#BB76E1
secondary
#D5EAC9
accent
#CC1A59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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