#BB24AA#BB24AA

#BB24AA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.227 H 333.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB24AA
RGBrgb(187, 36, 170)
HSLhsl(307, 68%, 44%)
HSVhsv(307, 81%, 73%)
CMYKcmyk(0%, 80.7%, 9.1%, 26.7%)
CIE-LABlab(45.26, 70.12, -36.86)
CIE-LCHlch(45.26, 79.22, 332.27°)
OKLaboklab(55.84% 0.2032 -0.1012)
OKLCHoklch(55.84% 0.227 333.5)
XYZxyz(28.3803, 14.7314, 39.3712)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24AA #24BB35
analogous
#8024BB #BB24AA #BB245E
triadic
#BB24AA #AABB24 #24AABB
tetradic
#BB24AA #BB8024 #24BB35 #245EBB
square
#BB24AA #BB8024 #24BB35 #245EBB
split-complementary
#BB24AA #5EBB24 #24BB80
monochromatic
#54104D #881A7B #BB24AA #DB42C9 #E475D8

Accessibility & contrast

On white

5.32
#BB24AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BB24AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24AA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24AA#FFFFFF#000000##FFFFFF
##BB24AA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#C43667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb24aa;
/* rgb */ color: rgb(187, 36, 170);
/* oklch */ color: oklch(55.8% 0.227 333.5);
Tailwind
colors: {
  custom: {
    50: '#d472c4',
    500: '#bb24aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb24aa;
$custom-light: #d472c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24aa",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 306.755,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.22701,
    "h": 333.5
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#BB24AA
secondary
#6FCC7A
accent
#EB513D
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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