#BB24C4#BB24C4

#BB24C4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.4% C 0.245 H 325.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB24C4
RGBrgb(187, 36, 196)
HSLhsl(297, 69%, 45%)
HSVhsv(297, 82%, 77%)
CMYKcmyk(4.6%, 81.6%, 0%, 23.1%)
CIE-LABlab(46.73, 74.11, -49.79)
CIE-LCHlch(46.73, 89.28, 326.10°)
OKLaboklab(57.35% 0.2024 -0.1388)
OKLCHoklch(57.35% 0.245 325.5)
XYZxyz(31.0875, 15.8142, 53.6289)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB24C4 #2DC424
analogous
#6B24C4 #BB24C4 #C4247D
triadic
#BB24C4 #C4BB24 #24C4BB
tetradic
#BB24C4 #C46B24 #2DC424 #247DC4
square
#BB24C4 #C46B24 #2DC424 #247DC4
split-complementary
#BB24C4 #7DC424 #24C46B
monochromatic
#58115D #8A1B90 #BB24C4 #D548DD #E17CE7

Accessibility & contrast

On white

5.05
#BB24C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BB24C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB24C4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB24C4#FFFFFF#000000##FFFFFF
##BB24C41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#BF4576
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb24c4;
/* rgb */ color: rgb(187, 36, 196);
/* oklch */ color: oklch(57.4% 0.245 325.5);
Tailwind
colors: {
  custom: {
    50: '#d474d6',
    500: '#bb24c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb24c4;
$custom-light: #d474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb24c4",
  "rgb": {
    "r": 187,
    "g": 36,
    "b": 196
  },
  "hsl": {
    "h": 296.625,
    "s": 68.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.24539,
    "h": 325.5
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#BB24C4
secondary
#7ACF75
accent
#EC3C46
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150914
muted
#837B83

Preview Lab

Preview with #BB24C4

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

Preview Lab → · Contrast checker → · Palette generator →

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