#BB72E4#BB72E4

#BB72E4 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.176 H 312.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BB72E4
RGBrgb(187, 114, 228)
HSLhsl(278, 68%, 67%)
HSVhsv(278, 50%, 89%)
CMYKcmyk(18%, 50%, 0%, 10.6%)
CIE-LABlab(60.07, 48.40, -46.79)
CIE-LCHlch(60.07, 67.32, 315.96°)
OKLaboklab(67.59% 0.1181 -0.1306)
OKLCHoklch(67.59% 0.176 312.1)
XYZxyz(40.5120, 28.2017, 76.6931)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72E4 #9BE472
analogous
#8272E4 #BB72E4 #E472D4
triadic
#BB72E4 #E4BB72 #72E4BB
tetradic
#BB72E4 #E48272 #9BE472 #72D4E4
square
#BB72E4 #E48272 #9BE472 #72D4E4
split-complementary
#BB72E4 #D4E472 #72E482
monochromatic
#8323B8 #A23FDA #BB72E4 #D4A5EE #EDD9F8

Accessibility & contrast

On white

3.16
#BB72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BB72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72E4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72E4#FFFFFF#000000##000000
##BB72E41.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#B784A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb72e4;
/* rgb */ color: rgb(187, 114, 228);
/* oklch */ color: oklch(67.6% 0.176 312.1);
Tailwind
colors: {
  custom: {
    50: '#d29ded',
    500: '#bb72e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb72e4;
$custom-light: #d29ded;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72e4",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 278.421,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.17604,
    "h": 312.1
  },
  "luminance": 0.28201
}

Semantic roles & 50–950 ramp

primary
#BB72E4
secondary
#D4EBC7
accent
#D01659
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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