#B24EA4#B24EA4

#B24EA4 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.166 H 333.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B24EA4
RGBrgb(178, 78, 164)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 70%)
CMYKcmyk(0%, 56.2%, 7.9%, 30.2%)
CIE-LABlab(49.00, 51.66, -27.55)
CIE-LCHlch(49.00, 58.55, 331.93°)
OKLaboklab(58.18% 0.1485 -0.0751)
OKLCHoklch(58.18% 0.166 333.2)
XYZxyz(27.7853, 17.5960, 37.0477)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EA4 #4EB25C
analogous
#8E4EB2 #B24EA4 #B24E72
triadic
#B24EA4 #A4B24E #4EA4B2
tetradic
#B24EA4 #B28E4E #4EB25C #4E72B2
square
#B24EA4 #B28E4E #4EB25C #4E72B2
split-complementary
#B24EA4 #72B24E #4EB28E
monochromatic
#5D2956 #883B7D #B24EA4 #C579BA #D7A3D0

Accessibility & contrast

On white

4.65
#B24EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B24EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24EA4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EA4#FFFFFF#000000##FFFFFF
##B24EA41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#B95572
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ea4;
/* rgb */ color: rgb(178, 78, 164);
/* oklch */ color: oklch(58.2% 0.166 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb85bf',
    500: '#b24ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b24ea4;
$custom-light: #cb85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ea4",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 308.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.16639,
    "h": 333.2
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#B24EA4
secondary
#98C49E
accent
#CF6959
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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