#BB76EC#BB76EC

#BB76EC is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.179 H 309.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#BB76EC
RGBrgb(187, 118, 236)
HSLhsl(275, 76%, 69%)
HSVhsv(275, 50%, 93%)
CMYKcmyk(20.8%, 50%, 0%, 7.5%)
CIE-LABlab(61.29, 48.03, -49.32)
CIE-LCHlch(61.29, 68.84, 314.24°)
OKLaboklab(68.62% 0.1135 -0.1379)
OKLCHoklch(68.62% 0.179 309.5)
XYZxyz(42.1094, 29.5785, 82.8315)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB76EC #A7EC76
analogous
#8076EC #BB76EC #EC76E2
triadic
#BB76EC #ECBB76 #76ECBB
tetradic
#BB76EC #EC8076 #A7EC76 #76E2EC
square
#BB76EC #EC8076 #A7EC76 #76E2EC
split-complementary
#BB76EC #E2EC76 #76EC80
monochromatic
#831CCB #A040E5 #BB76EC #D6ACF3 #F0E1FB

Accessibility & contrast

On white

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

On black

6.92
#BB76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB76EC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB76EC#FFFFFF#000000##000000
##BB76EC1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#B58AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb76ec;
/* rgb */ color: rgb(187, 118, 236);
/* oklch */ color: oklch(68.6% 0.179 309.5);
Tailwind
colors: {
  custom: {
    50: '#d29ff2',
    500: '#bb76ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb76ec;
$custom-light: #d29ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb76ec",
  "rgb": {
    "r": 187,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 275.085,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68624,
    "c": 0.17865,
    "h": 309.5
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

primary
#BB76EC
secondary
#DCF0CE
accent
#D80E62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BB76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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