#BB24A6#BB24A6

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

Color values

HEX#BB24A6
RGBrgb(187, 36, 166)
HSLhsl(308, 68%, 44%)
HSVhsv(308, 81%, 73%)
CMYKcmyk(0%, 80.7%, 11.2%, 26.7%)
CIE-LABlab(45.06, 69.55, -34.81)
CIE-LCHlch(45.06, 77.77, 333.41°)
OKLaboklab(55.63% 0.203 -0.0953)
OKLCHoklch(55.63% 0.224 334.8)
XYZxyz(28.0077, 14.5823, 37.4086)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24A6 #24BB39
analogous
#8424BB #BB24A6 #BB245A
triadic
#BB24A6 #A6BB24 #24A6BB
tetradic
#BB24A6 #BB8424 #24BB39 #245ABB
square
#BB24A6 #BB8424 #24BB39 #245ABB
split-complementary
#BB24A6 #5ABB24 #24BB84
monochromatic
#54104B #881A78 #BB24A6 #DB42C5 #E475D5

Accessibility & contrast

On white

5.36
#BB24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24A6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24A6#FFFFFF#000000##FFFFFF
##BB24A61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DA9
Deuteranopia (green-blind)
#5E72A3
Tritanopia (blue-blind)
#C43465
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb24a6;
/* rgb */ color: rgb(187, 36, 166);
/* oklch */ color: oklch(55.6% 0.224 334.8);
Tailwind
colors: {
  custom: {
    50: '#d472c1',
    500: '#bb24a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb24a6;
$custom-light: #d472c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24a6",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 308.344,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.22431,
    "h": 334.8
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#BB24A6
secondary
#6FCC7C
accent
#EB553D
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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