#BB24B1#BB24B1

#BB24B1 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.232 H 331.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB24B1
RGBrgb(187, 36, 177)
HSLhsl(304, 68%, 44%)
HSVhsv(304, 81%, 73%)
CMYKcmyk(0%, 80.7%, 5.3%, 26.7%)
CIE-LABlab(45.64, 71.16, -40.41)
CIE-LCHlch(45.64, 81.83, 330.41°)
OKLaboklab(56.23% 0.2032 -0.1115)
OKLCHoklch(56.23% 0.232 331.2)
XYZxyz(29.0602, 15.0033, 42.9518)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24B1 #24BB2E
analogous
#7924BB #BB24B1 #BB2465
triadic
#BB24B1 #B1BB24 #24B1BB
tetradic
#BB24B1 #BB7924 #24BB2E #2465BB
square
#BB24B1 #BB7924 #24BB2E #2465BB
split-complementary
#BB24B1 #65BB24 #24BB79
monochromatic
#541050 #881A80 #BB24B1 #DB42D0 #E475DD

Accessibility & contrast

On white

5.25
#BB24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24B1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24B1#FFFFFF#000000##FFFFFF
##BB24B11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#C33A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb24b1;
/* rgb */ color: rgb(187, 36, 177);
/* oklch */ color: oklch(56.2% 0.232 331.2);
Tailwind
colors: {
  custom: {
    50: '#d473c9',
    500: '#bb24b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb24b1;
$custom-light: #d473c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24b1",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 303.974,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.23183,
    "h": 331.2
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#BB24B1
secondary
#6FCC75
accent
#EB493D
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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