#B24CAA#B24CAA

#B24CAA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.174 H 330.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B24CAA
RGBrgb(178, 76, 170)
HSLhsl(305, 40%, 50%)
HSVhsv(305, 57%, 70%)
CMYKcmyk(0%, 57.3%, 4.5%, 30.2%)
CIE-LABlab(48.93, 53.61, -31.20)
CIE-LCHlch(48.93, 62.03, 329.80°)
OKLaboklab(58.22% 0.1521 -0.0855)
OKLCHoklch(58.22% 0.174 330.7)
XYZxyz(28.2001, 17.5380, 39.9223)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CAA #4CB254
analogous
#874CB2 #B24CAA #B24C77
triadic
#B24CAA #AAB24C #4CAAB2
tetradic
#B24CAA #B2874C #4CB254 #4C77B2
square
#B24CAA #B2874C #4CB254 #4C77B2
split-complementary
#B24CAA #77B24C #4CB287
monochromatic
#5C2758 #873A81 #B24CAA #C576BF #D7A1D3

Accessibility & contrast

On white

4.66
#B24CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B24CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CAA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CAA#FFFFFF#000000##FFFFFF
##B24CAA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#6679A7
Tritanopia (blue-blind)
#B85574
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24caa;
/* rgb */ color: rgb(178, 76, 170);
/* oklch */ color: oklch(58.2% 0.174 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc84c3',
    500: '#b24caa',
    950: '#000000',
  },
}
SCSS
$custom: #b24caa;
$custom-light: #cc84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b24caa",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 304.706,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.17447,
    "h": 330.7
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#B24CAA
secondary
#96C499
accent
#D06158
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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