#BB24B7#BB24B7

#BB24B7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.236 H 329.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB24B7
RGBrgb(187, 36, 183)
HSLhsl(302, 68%, 44%)
HSVhsv(302, 81%, 73%)
CMYKcmyk(0%, 80.7%, 2.1%, 26.7%)
CIE-LABlab(45.97, 72.07, -43.41)
CIE-LCHlch(45.97, 84.13, 328.94°)
OKLaboklab(56.57% 0.2031 -0.1202)
OKLCHoklch(56.57% 0.236 329.4)
XYZxyz(29.6714, 15.2478, 46.1709)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24B7 #24BB28
analogous
#7324BB #BB24B7 #BB246B
triadic
#BB24B7 #B7BB24 #24B7BB
tetradic
#BB24B7 #BB7324 #24BB28 #246BBB
square
#BB24B7 #BB7324 #24BB28 #246BBB
split-complementary
#BB24B7 #6BBB24 #24BB73
monochromatic
#541053 #881A85 #BB24B7 #DB42D6 #E475E1

Accessibility & contrast

On white

5.19
#BB24B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB24B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24B7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24B7#FFFFFF#000000##FFFFFF
##BB24B71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#C23D6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb24b7;
/* rgb */ color: rgb(187, 36, 183);
/* oklch */ color: oklch(56.6% 0.236 329.4);
Tailwind
colors: {
  custom: {
    50: '#d473cd',
    500: '#bb24b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb24b7;
$custom-light: #d473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24b7",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 301.589,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.23604,
    "h": 329.4
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#BB24B7
secondary
#6FCC72
accent
#EB423D
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB24B7

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

Preview Lab → · Contrast checker → · Palette generator →

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