#BB72EC#BB72EC

#BB72EC is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.185 H 310.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#BB72EC
RGBrgb(187, 114, 236)
HSLhsl(276, 76%, 69%)
HSVhsv(276, 52%, 93%)
CMYKcmyk(20.8%, 51.7%, 0%, 7.5%)
CIE-LABlab(60.48, 50.13, -50.61)
CIE-LCHlch(60.48, 71.23, 314.73°)
OKLaboklab(68.02% 0.1188 -0.1417)
OKLCHoklch(68.02% 0.185 310)
XYZxyz(41.6483, 28.6563, 82.6778)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72EC #A3EC72
analogous
#7E72EC #BB72EC #EC72E0
triadic
#BB72EC #ECBB72 #72ECBB
tetradic
#BB72EC #EC7E72 #A3EC72 #72E0EC
square
#BB72EC #EC7E72 #A3EC72 #72E0EC
split-complementary
#BB72EC #E0EC72 #72EC7E
monochromatic
#831BC9 #A13CE5 #BB72EC #D5A8F3 #EFDEFB

Accessibility & contrast

On white

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

On black

6.73
#BB72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72EC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72EC#FFFFFF#000000##000000
##BB72EC1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#B587A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #bb72ec;
/* rgb */ color: rgb(187, 114, 236);
/* oklch */ color: oklch(68.0% 0.185 310.0);
Tailwind
colors: {
  custom: {
    50: '#d29df3',
    500: '#bb72ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb72ec;
$custom-light: #d29df3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72ec",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 275.902,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68023,
    "c": 0.1849,
    "h": 310
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#BB72EC
secondary
#D9EFCB
accent
#D80D5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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