#BB72E7#BB72E7

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

Color values

HEX#BB72E7
RGBrgb(187, 114, 231)
HSLhsl(277, 71%, 68%)
HSVhsv(277, 51%, 91%)
CMYKcmyk(19%, 50.6%, 0%, 9.4%)
CIE-LABlab(60.22, 49.04, -48.23)
CIE-LCHlch(60.22, 68.78, 315.48°)
OKLaboklab(67.75% 0.1184 -0.1347)
OKLCHoklch(67.75% 0.179 311.3)
XYZxyz(40.9320, 28.3698, 78.9055)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72E7 #9EE772
analogous
#8172E7 #BB72E7 #E772D8
triadic
#BB72E7 #E7BB72 #72E7BB
tetradic
#BB72E7 #E78172 #9EE772 #72D8E7
square
#BB72E7 #E78172 #9EE772 #72D8E7
split-complementary
#BB72E7 #D8E772 #72E781
monochromatic
#8320BE #A23EDE #BB72E7 #D4A6F0 #EDDBF9

Accessibility & contrast

On white

3.15
#BB72E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#BB72E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72E7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72E7#FFFFFF#000000##000000
##BB72E71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEB
Deuteranopia (green-blind)
#6A93E4
Tritanopia (blue-blind)
#B685A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb72e7;
/* rgb */ color: rgb(187, 114, 231);
/* oklch */ color: oklch(67.8% 0.179 311.3);
Tailwind
colors: {
  custom: {
    50: '#d29def',
    500: '#bb72e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb72e7;
$custom-light: #d29def;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72e7",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 277.436,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.17936,
    "h": 311.3
  },
  "luminance": 0.28369
}

Semantic roles & 50–950 ramp

primary
#BB72E7
secondary
#D6EDC8
accent
#D3135B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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