#BB24A5#BB24A5

#BB24A5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.6% C 0.224 H 335.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BB24A5
RGBrgb(187, 36, 165)
HSLhsl(309, 68%, 44%)
HSVhsv(309, 81%, 73%)
CMYKcmyk(0%, 80.7%, 11.8%, 26.7%)
CIE-LABlab(45.01, 69.41, -34.29)
CIE-LCHlch(45.01, 77.41, 333.71°)
OKLaboklab(55.57% 0.203 -0.0938)
OKLCHoklch(55.57% 0.224 335.2)
XYZxyz(27.9163, 14.5458, 36.9274)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24A5 #24BB3A
analogous
#8524BB #BB24A5 #BB2459
triadic
#BB24A5 #A5BB24 #24A5BB
tetradic
#BB24A5 #BB8524 #24BB3A #2459BB
square
#BB24A5 #BB8524 #24BB3A #2459BB
split-complementary
#BB24A5 #59BB24 #24BB85
monochromatic
#54104A #881A78 #BB24A5 #DB42C4 #E475D4

Accessibility & contrast

On white

5.37
#BB24A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB24A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24A5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24A5#FFFFFF#000000##FFFFFF
##BB24A51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#C53365
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb24a5;
/* rgb */ color: rgb(187, 36, 165);
/* oklch */ color: oklch(55.6% 0.224 335.2);
Tailwind
colors: {
  custom: {
    50: '#d472c0',
    500: '#bb24a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb24a5;
$custom-light: #d472c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24a5",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 308.742,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55573,
    "c": 0.22364,
    "h": 335.2
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#BB24A5
secondary
#6FCC7D
accent
#EB563D
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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