#BB72F8#BB72F8

#BB72F8 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.7% C 0.198 H 307.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BB72F8
RGBrgb(187, 114, 248)
HSLhsl(273, 91%, 71%)
HSVhsv(273, 54%, 97%)
CMYKcmyk(24.6%, 54%, 0%, 2.7%)
CIE-LABlab(61.11, 52.79, -56.24)
CIE-LCHlch(61.11, 77.13, 313.19°)
OKLaboklab(68.7% 0.1196 -0.1581)
OKLCHoklch(68.7% 0.198 307.1)
XYZxyz(43.4506, 29.3772, 92.1701)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72F8 #AFF872
analogous
#7872F8 #BB72F8 #F872F2
triadic
#BB72F8 #F8BB72 #72F8BB
tetradic
#BB72F8 #F87872 #AFF872 #72F2F8
square
#BB72F8 #F87872 #AFF872 #72F2F8
split-complementary
#BB72F8 #F2F872 #72F878
monochromatic
#820BE4 #9F38F5 #BB72F8 #D7ACFB #F1E2FE

Accessibility & contrast

On white

3.05
#BB72F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BB72F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72F8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72F8#FFFFFF#000000##000000
##BB72F81.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#B28BAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #bb72f8;
/* rgb */ color: rgb(187, 114, 248);
/* oklch */ color: oklch(68.7% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#d39dfb',
    500: '#bb72f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb72f8;
$custom-light: #d39dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72f8",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 272.687,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.19827,
    "h": 307.1
  },
  "luminance": 0.29377
}

Semantic roles & 50–950 ramp

primary
#BB72F8
secondary
#E1F5D1
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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