#BB24A7#BB24A7

#BB24A7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.225 H 334.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BB24A7
RGBrgb(187, 36, 167)
HSLhsl(308, 68%, 44%)
HSVhsv(308, 81%, 73%)
CMYKcmyk(0%, 80.7%, 10.7%, 26.7%)
CIE-LABlab(45.11, 69.69, -35.32)
CIE-LCHlch(45.11, 78.13, 333.12°)
OKLaboklab(55.68% 0.2031 -0.0968)
OKLCHoklch(55.68% 0.225 334.5)
XYZxyz(28.0998, 14.6191, 37.8936)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24A7 #24BB38
analogous
#8324BB #BB24A7 #BB245B
triadic
#BB24A7 #A7BB24 #24A7BB
tetradic
#BB24A7 #BB8324 #24BB38 #245BBB
square
#BB24A7 #BB8324 #24BB38 #245BBB
split-complementary
#BB24A7 #5BBB24 #24BB83
monochromatic
#54104B #881A79 #BB24A7 #DB42C6 #E475D6

Accessibility & contrast

On white

5.35
#BB24A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB24A7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24A7#FFFFFF#000000##FFFFFF
##BB24A71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAA
Deuteranopia (green-blind)
#5D72A4
Tritanopia (blue-blind)
#C43466
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb24a7;
/* rgb */ color: rgb(187, 36, 167);
/* oklch */ color: oklch(55.7% 0.225 334.5);
Tailwind
colors: {
  custom: {
    50: '#d472c1',
    500: '#bb24a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb24a7;
$custom-light: #d472c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24a7",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 307.947,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.22497,
    "h": 334.5
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#BB24A7
secondary
#6FCC7B
accent
#EB543D
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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