#BB24B3#BB24B3

#BB24B3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.233 H 330.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB24B3
RGBrgb(187, 36, 179)
HSLhsl(303, 68%, 44%)
HSVhsv(303, 81%, 73%)
CMYKcmyk(0%, 80.7%, 4.3%, 26.7%)
CIE-LABlab(45.75, 71.46, -41.41)
CIE-LCHlch(45.75, 82.59, 329.91°)
OKLaboklab(56.34% 0.2032 -0.1144)
OKLCHoklch(56.34% 0.233 330.6)
XYZxyz(29.2610, 15.0836, 44.0094)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24B3 #24BB2C
analogous
#7724BB #BB24B3 #BB2467
triadic
#BB24B3 #B3BB24 #24B3BB
tetradic
#BB24B3 #BB7724 #24BB2C #2467BB
square
#BB24B3 #BB7724 #24BB2C #2467BB
split-complementary
#BB24B3 #67BB24 #24BB77
monochromatic
#541051 #881A82 #BB24B3 #DB42D2 #E475DF

Accessibility & contrast

On white

5.23
#BB24B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB24B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24B3#FFFFFF#000000##FFFFFF
##BB24B31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB7
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#C23B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb24b3;
/* rgb */ color: rgb(187, 36, 179);
/* oklch */ color: oklch(56.3% 0.233 330.6);
Tailwind
colors: {
  custom: {
    50: '#d473ca',
    500: '#bb24b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb24b3;
$custom-light: #d473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24b3",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 303.179,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.23322,
    "h": 330.6
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#BB24B3
secondary
#6FCC74
accent
#EB463D
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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