#BB76E4#BB76E4

#BB76E4 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.170 H 311.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BB76E4
RGBrgb(187, 118, 228)
HSLhsl(278, 67%, 68%)
HSVhsv(278, 48%, 89%)
CMYKcmyk(18%, 48.2%, 0%, 10.6%)
CIE-LABlab(60.89, 46.28, -45.50)
CIE-LCHlch(60.89, 64.90, 315.49°)
OKLaboklab(68.2% 0.1126 -0.1268)
OKLCHoklch(68.2% 0.17 311.6)
XYZxyz(40.9731, 29.1239, 76.8468)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76E4 #9FE476
analogous
#8476E4 #BB76E4 #E476D6
triadic
#BB76E4 #E4BB76 #76E4BB
tetradic
#BB76E4 #E48476 #9FE476 #76D6E4
square
#BB76E4 #E48476 #9FE476 #76D6E4
split-complementary
#BB76E4 #D6E476 #76E484
monochromatic
#8325BB #A243DA #BB76E4 #D4A9EE #EEDCF8

Accessibility & contrast

On white

3.08
#BB76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BB76E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB76E4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB76E4#FFFFFF#000000##000000
##BB76E41.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#7094E1
Tritanopia (blue-blind)
#B787A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb76e4;
/* rgb */ color: rgb(187, 118, 228);
/* oklch */ color: oklch(68.2% 0.170 311.6);
Tailwind
colors: {
  custom: {
    50: '#d19fed',
    500: '#bb76e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb76e4;
$custom-light: #d19fed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76e4",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 277.636,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.16963,
    "h": 311.6
  },
  "luminance": 0.29123
}

Semantic roles & 50–950 ramp

primary
#BB76E4
secondary
#D7ECCA
accent
#CF175B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BB76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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