#B24CA6#B24CA6

#B24CA6 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.171 H 332.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B24CA6
RGBrgb(178, 76, 166)
HSLhsl(307, 40%, 50%)
HSVhsv(307, 57%, 70%)
CMYKcmyk(0%, 57.3%, 6.7%, 30.2%)
CIE-LABlab(48.75, 52.93, -29.13)
CIE-LCHlch(48.75, 60.41, 331.17°)
OKLaboklab(58.02% 0.1515 -0.0795)
OKLCHoklch(58.02% 0.171 332.3)
XYZxyz(27.8274, 17.3890, 37.9597)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA6 #4CB258
analogous
#8B4CB2 #B24CA6 #B24C73
triadic
#B24CA6 #A6B24C #4CA6B2
tetradic
#B24CA6 #B28B4C #4CB258 #4C73B2
square
#B24CA6 #B28B4C #4CB258 #4C73B2
split-complementary
#B24CA6 #73B24C #4CB28B
monochromatic
#5C2756 #873A7E #B24CA6 #C576BC #D7A1D1

Accessibility & contrast

On white

4.69
#B24CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B24CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA6#FFFFFF#000000##FFFFFF
##B24CA61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#6879A3
Tritanopia (blue-blind)
#B95472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ca6;
/* rgb */ color: rgb(178, 76, 166);
/* oklch */ color: oklch(58.0% 0.171 332.3);
Tailwind
colors: {
  custom: {
    50: '#cc83c0',
    500: '#b24ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca6;
$custom-light: #cc83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca6",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 307.059,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.17114,
    "h": 332.3
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#B24CA6
secondary
#96C49B
accent
#D06658
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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