#BB24A8#BB24A8

#BB24A8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.226 H 334.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BB24A8
RGBrgb(187, 36, 168)
HSLhsl(308, 68%, 44%)
HSVhsv(308, 81%, 73%)
CMYKcmyk(0%, 80.7%, 10.2%, 26.7%)
CIE-LABlab(45.16, 69.83, -35.83)
CIE-LCHlch(45.16, 78.49, 332.84°)
OKLaboklab(55.73% 0.2031 -0.0983)
OKLCHoklch(55.73% 0.226 334.2)
XYZxyz(28.1926, 14.6563, 38.3823)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24A8 #24BB37
analogous
#8224BB #BB24A8 #BB245C
triadic
#BB24A8 #A8BB24 #24A8BB
tetradic
#BB24A8 #BB8224 #24BB37 #245CBB
square
#BB24A8 #BB8224 #24BB37 #245CBB
split-complementary
#BB24A8 #5CBB24 #24BB82
monochromatic
#54104C #881A7A #BB24A8 #DB42C7 #E475D6

Accessibility & contrast

On white

5.34
#BB24A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB24A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24A8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24A8#FFFFFF#000000##FFFFFF
##BB24A81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#5D72A5
Tritanopia (blue-blind)
#C43566
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb24a8;
/* rgb */ color: rgb(187, 36, 168);
/* oklch */ color: oklch(55.7% 0.226 334.2);
Tailwind
colors: {
  custom: {
    50: '#d472c2',
    500: '#bb24a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb24a8;
$custom-light: #d472c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24a8",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 307.55,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.22565,
    "h": 334.2
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#BB24A8
secondary
#6FCC7B
accent
#EB533D
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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