#B24EAC#B24EAC

#B24EAC is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.6% C 0.173 H 329.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B24EAC
RGBrgb(178, 78, 172)
HSLhsl(304, 39%, 50%)
HSVhsv(304, 56%, 70%)
CMYKcmyk(0%, 56.2%, 3.4%, 30.2%)
CIE-LABlab(49.37, 53.02, -31.69)
CIE-LCHlch(49.37, 61.77, 329.14°)
OKLaboklab(58.57% 0.1497 -0.0869)
OKLCHoklch(58.57% 0.173 329.9)
XYZxyz(28.5306, 17.8942, 40.9729)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EAC #4EB254
analogous
#864EB2 #B24EAC #B24E7A
triadic
#B24EAC #ACB24E #4EACB2
tetradic
#B24EAC #B2864E #4EB254 #4E7AB2
square
#B24EAC #B2864E #4EB254 #4E7AB2
split-complementary
#B24EAC #7AB24E #4EB286
monochromatic
#5D295A #883B83 #B24EAC #C579C0 #D7A3D4

Accessibility & contrast

On white

4.59
#B24EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B24EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24EAC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EAC#FFFFFF#000000##FFFFFF
##B24EAC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476DAF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#B85876
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24eac;
/* rgb */ color: rgb(178, 78, 172);
/* oklch */ color: oklch(58.6% 0.173 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc85c5',
    500: '#b24eac',
    950: '#000000',
  },
}
SCSS
$custom: #b24eac;
$custom-light: #cc85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24eac",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 303.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.17311,
    "h": 329.9
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#B24EAC
secondary
#98C49A
accent
#CF6059
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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