#B24AA4#B24AA4

#B24AA4 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.173 H 333.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B24AA4
RGBrgb(178, 74, 164)
HSLhsl(308, 41%, 49%)
HSVhsv(308, 58%, 70%)
CMYKcmyk(0%, 58.4%, 7.9%, 30.2%)
CIE-LABlab(48.32, 53.51, -28.62)
CIE-LCHlch(48.32, 60.69, 331.86°)
OKLaboklab(57.67% 0.1539 -0.0781)
OKLCHoklch(57.67% 0.173 333.1)
XYZxyz(27.5097, 17.0449, 36.9558)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24AA4 #4AB258
analogous
#8C4AB2 #B24AA4 #B24A70
triadic
#B24AA4 #A4B24A #4AA4B2
tetradic
#B24AA4 #B28C4A #4AB258 #4A70B2
square
#B24AA4 #B28C4A #4AB258 #4A70B2
split-complementary
#B24AA4 #70B24A #4AB28C
monochromatic
#5C2654 #87387C #B24AA4 #C574BA #D79FD0

Accessibility & contrast

On white

4.76
#B24AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B24AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24AA4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24AA4#FFFFFF#000000##FFFFFF
##B24AA41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#B95270
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b24aa4;
/* rgb */ color: rgb(178, 74, 164);
/* oklch */ color: oklch(57.7% 0.173 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc82bf',
    500: '#b24aa4',
    950: '#000000',
  },
}
SCSS
$custom: #b24aa4;
$custom-light: #cc82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24aa4",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 308.077,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.17255,
    "h": 333.1
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#B24AA4
secondary
#94C49A
accent
#D16757
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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