#B24AA9#B24AA9

#B24AA9 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.177 H 331.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B24AA9
RGBrgb(178, 74, 169)
HSLhsl(305, 41%, 49%)
HSVhsv(305, 58%, 70%)
CMYKcmyk(0%, 58.4%, 5.1%, 30.2%)
CIE-LABlab(48.55, 54.35, -31.21)
CIE-LCHlch(48.55, 62.68, 330.14°)
OKLaboklab(57.92% 0.1546 -0.0855)
OKLCHoklch(57.92% 0.177 331.1)
XYZxyz(27.9702, 17.2290, 39.3808)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24AA9 #4AB253
analogous
#874AB2 #B24AA9 #B24A75
triadic
#B24AA9 #A9B24A #4AA9B2
tetradic
#B24AA9 #B2874A #4AB253 #4A75B2
square
#B24AA9 #B2874A #4AB253 #4A75B2
split-complementary
#B24AA9 #75B24A #4AB287
monochromatic
#5C2657 #873880 #B24AA9 #C574BE #D79FD2

Accessibility & contrast

On white

4.72
#B24AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B24AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24AA9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24AA9#FFFFFF#000000##FFFFFF
##B24AA91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#B95373
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b24aa9;
/* rgb */ color: rgb(178, 74, 169);
/* oklch */ color: oklch(57.9% 0.177 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc82c3',
    500: '#b24aa9',
    950: '#000000',
  },
}
SCSS
$custom: #b24aa9;
$custom-light: #cc82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b24aa9",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 305.192,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.17665,
    "h": 331.1
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#B24AA9
secondary
#94C498
accent
#D16157
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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