#B24CA8#B24CA8

#B24CA8 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.173 H 331.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B24CA8
RGBrgb(178, 76, 168)
HSLhsl(306, 40%, 50%)
HSVhsv(306, 57%, 70%)
CMYKcmyk(0%, 57.3%, 5.6%, 30.2%)
CIE-LABlab(48.84, 53.27, -30.17)
CIE-LCHlch(48.84, 61.22, 330.48°)
OKLaboklab(58.12% 0.1518 -0.0825)
OKLCHoklch(58.12% 0.173 331.5)
XYZxyz(28.0123, 17.4629, 38.9335)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA8 #4CB256
analogous
#894CB2 #B24CA8 #B24C75
triadic
#B24CA8 #A8B24C #4CA8B2
tetradic
#B24CA8 #B2894C #4CB256 #4C75B2
square
#B24CA8 #B2894C #4CB256 #4C75B2
split-complementary
#B24CA8 #75B24C #4CB289
monochromatic
#5C2757 #873A80 #B24CA8 #C576BD #D7A1D2

Accessibility & contrast

On white

4.67
#B24CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B24CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA8#FFFFFF#000000##FFFFFF
##B24CA81.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#6779A5
Tritanopia (blue-blind)
#B95573
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ca8;
/* rgb */ color: rgb(178, 76, 168);
/* oklch */ color: oklch(58.1% 0.173 331.5);
Tailwind
colors: {
  custom: {
    50: '#cc83c2',
    500: '#b24ca8',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca8;
$custom-light: #cc83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca8",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 305.882,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58116,
    "c": 0.1728,
    "h": 331.5
  },
  "luminance": 0.17461
}

Semantic roles & 50–950 ramp

primary
#B24CA8
secondary
#96C49A
accent
#D06458
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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