#BB72FE#BB72FE

#BB72FE is a light, highly saturated violet. Relative luminance 0.298; OKLCH L 69.0% C 0.205 H 305.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#BB72FE
RGBrgb(187, 114, 254)
HSLhsl(271, 99%, 72%)
HSVhsv(271, 55%, 100%)
CMYKcmyk(26.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(61.44, 54.14, -59.02)
CIE-LCHlch(61.44, 80.09, 312.53°)
OKLaboklab(69.05% 0.1198 -0.1663)
OKLCHoklch(69.05% 0.205 305.8)
XYZxyz(44.3964, 29.7555, 97.1512)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72FE #B5FE72
analogous
#7572FE #BB72FE #FE72FB
triadic
#BB72FE #FEBB72 #72FEBB
tetradic
#BB72FE #FE7572 #B5FE72 #72FBFE
square
#BB72FE #FE7572 #B5FE72 #72FBFE
split-complementary
#BB72FE #FBFE72 #72FE75
monochromatic
#8002F4 #9E35FE #BB72FE #D8AFFE #F0E1FF

Accessibility & contrast

On white

3.02
#BB72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#BB72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72FE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72FE#FFFFFF#000000##000000
##BB72FE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#B08CAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #bb72fe;
/* rgb */ color: rgb(187, 114, 254);
/* oklch */ color: oklch(69.0% 0.205 305.8);
Tailwind
colors: {
  custom: {
    50: '#d39dff',
    500: '#bb72fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb72fe;
$custom-light: #d39dff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72fe",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 271.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.20495,
    "h": 305.8
  },
  "luminance": 0.29755
}

Semantic roles & 50–950 ramp

primary
#BB72FE
secondary
#E5F7D4
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BB72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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