#BB24B5#BB24B5

#BB24B5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.235 H 330.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB24B5
RGBrgb(187, 36, 181)
HSLhsl(302, 68%, 44%)
HSVhsv(302, 81%, 73%)
CMYKcmyk(0%, 80.7%, 3.2%, 26.7%)
CIE-LABlab(45.86, 71.76, -42.41)
CIE-LCHlch(45.86, 83.36, 329.42°)
OKLaboklab(56.46% 0.2032 -0.1173)
OKLCHoklch(56.46% 0.235 330)
XYZxyz(29.4648, 15.1651, 45.0824)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24B5 #24BB2A
analogous
#7524BB #BB24B5 #BB2469
triadic
#BB24B5 #B5BB24 #24B5BB
tetradic
#BB24B5 #BB7524 #24BB2A #2469BB
square
#BB24B5 #BB7524 #24BB2A #2469BB
split-complementary
#BB24B5 #69BB24 #24BB75
monochromatic
#541052 #881A83 #BB24B5 #DB42D4 #E475E0

Accessibility & contrast

On white

5.21
#BB24B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BB24B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24B5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24B5#FFFFFF#000000##FFFFFF
##BB24B51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#5673B2
Tritanopia (blue-blind)
#C23C6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb24b5;
/* rgb */ color: rgb(187, 36, 181);
/* oklch */ color: oklch(56.5% 0.235 330.0);
Tailwind
colors: {
  custom: {
    50: '#d473cc',
    500: '#bb24b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb24b5;
$custom-light: #d473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24b5",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 302.384,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.23463,
    "h": 330
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#BB24B5
secondary
#6FCC73
accent
#EB443D
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB24B5

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

Preview Lab → · Contrast checker → · Palette generator →

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