#BB24B4#BB24B4

#BB24B4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.234 H 330.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BB24B4
RGBrgb(187, 36, 180)
HSLhsl(303, 68%, 44%)
HSVhsv(303, 81%, 73%)
CMYKcmyk(0%, 80.7%, 3.7%, 26.7%)
CIE-LABlab(45.80, 71.61, -41.91)
CIE-LCHlch(45.80, 82.97, 329.66°)
OKLaboklab(56.4% 0.2032 -0.1159)
OKLCHoklch(56.4% 0.234 330.3)
XYZxyz(29.3625, 15.1242, 44.5440)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24B4 #24BB2B
analogous
#7624BB #BB24B4 #BB2468
triadic
#BB24B4 #B4BB24 #24B4BB
tetradic
#BB24B4 #BB7624 #24BB2B #2468BB
square
#BB24B4 #BB7624 #24BB2B #2468BB
split-complementary
#BB24B4 #68BB24 #24BB76
monochromatic
#541051 #881A83 #BB24B4 #DB42D3 #E475DF

Accessibility & contrast

On white

5.22
#BB24B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB24B4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24B4#FFFFFF#000000##FFFFFF
##BB24B41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0260B8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#C23C6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb24b4;
/* rgb */ color: rgb(187, 36, 180);
/* oklch */ color: oklch(56.4% 0.234 330.3);
Tailwind
colors: {
  custom: {
    50: '#d473cb',
    500: '#bb24b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb24b4;
$custom-light: #d473cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24b4",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 302.781,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.564,
    "c": 0.23393,
    "h": 330.3
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#BB24B4
secondary
#6FCC73
accent
#EB453D
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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