#BB72E1#BB72E1

#BB72E1 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.173 H 313.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BB72E1
RGBrgb(187, 114, 225)
HSLhsl(279, 65%, 66%)
HSVhsv(279, 49%, 88%)
CMYKcmyk(16.9%, 49.3%, 0%, 11.8%)
CIE-LABlab(59.92, 47.75, -45.35)
CIE-LCHlch(59.92, 65.86, 316.48°)
OKLaboklab(67.43% 0.1177 -0.1264)
OKLCHoklch(67.43% 0.173 313)
XYZxyz(40.0991, 28.0366, 74.5188)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72E1 #98E172
analogous
#8472E1 #BB72E1 #E172D0
triadic
#BB72E1 #E1BB72 #72E1BB
tetradic
#BB72E1 #E18472 #98E172 #72D0E1
square
#BB72E1 #E18472 #98E172 #72D0E1
split-complementary
#BB72E1 #D0E172 #72E184
monochromatic
#8226B3 #A340D6 #BB72E1 #D3A4EC #ECD7F6

Accessibility & contrast

On white

3.18
#BB72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BB72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72E1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72E1#FFFFFF#000000##000000
##BB72E11.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588CE5
Deuteranopia (green-blind)
#6E92DE
Tritanopia (blue-blind)
#B7839F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb72e1;
/* rgb */ color: rgb(187, 114, 225);
/* oklch */ color: oklch(67.4% 0.173 313.0);
Tailwind
colors: {
  custom: {
    50: '#d29deb',
    500: '#bb72e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb72e1;
$custom-light: #d29deb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72e1",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 279.459,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67432,
    "c": 0.17273,
    "h": 313
  },
  "luminance": 0.28036
}

Semantic roles & 50–950 ramp

primary
#BB72E1
secondary
#D2E9C5
accent
#CD1956
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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