#BB72E8#BB72E8

#BB72E8 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.180 H 311.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#BB72E8
RGBrgb(187, 114, 232)
HSLhsl(277, 72%, 68%)
HSVhsv(277, 51%, 91%)
CMYKcmyk(19.4%, 50.9%, 0%, 9%)
CIE-LABlab(60.27, 49.26, -48.70)
CIE-LCHlch(60.27, 69.27, 315.32°)
OKLaboklab(67.81% 0.1185 -0.1361)
OKLCHoklch(67.81% 0.18 311)
XYZxyz(41.0737, 28.4264, 79.6514)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72E8 #9FE872
analogous
#8072E8 #BB72E8 #E872DA
triadic
#BB72E8 #E8BB72 #72E8BB
tetradic
#BB72E8 #E88072 #9FE872 #72DAE8
square
#BB72E8 #E88072 #9FE872 #72DAE8
split-complementary
#BB72E8 #DAE872 #72E880
monochromatic
#831FC0 #A23DDF #BB72E8 #D4A7F1 #EEDBF9

Accessibility & contrast

On white

3.14
#BB72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#BB72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72E8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72E8#FFFFFF#000000##000000
##BB72E81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEC
Deuteranopia (green-blind)
#6A93E5
Tritanopia (blue-blind)
#B686A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb72e8;
/* rgb */ color: rgb(187, 114, 232);
/* oklch */ color: oklch(67.8% 0.180 311.0);
Tailwind
colors: {
  custom: {
    50: '#d29df0',
    500: '#bb72e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb72e8;
$custom-light: #d29df0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72e8",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 277.119,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.18047,
    "h": 311
  },
  "luminance": 0.28426
}

Semantic roles & 50–950 ramp

primary
#BB72E8
secondary
#D7EDC9
accent
#D4115C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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