#B24EA5#B24EA5

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

Color values

HEX#B24EA5
RGBrgb(178, 78, 165)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 70%)
CMYKcmyk(0%, 56.2%, 7.3%, 30.2%)
CIE-LABlab(49.05, 51.83, -28.07)
CIE-LCHlch(49.05, 58.94, 331.56°)
OKLaboklab(58.23% 0.1487 -0.0765)
OKLCHoklch(58.23% 0.167 332.8)
XYZxyz(27.8760, 17.6323, 37.5252)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EA5 #4EB25B
analogous
#8D4EB2 #B24EA5 #B24E73
triadic
#B24EA5 #A5B24E #4EA5B2
tetradic
#B24EA5 #B28D4E #4EB25B #4E73B2
square
#B24EA5 #B28D4E #4EB25B #4E73B2
split-complementary
#B24EA5 #73B24E #4EB28D
monochromatic
#5D2956 #883B7E #B24EA5 #C579BB #D7A3D0

Accessibility & contrast

On white

4.64
#B24EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B24EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24EA5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EA5#FFFFFF#000000##FFFFFF
##B24EA51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#B95572
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24ea5;
/* rgb */ color: rgb(178, 78, 165);
/* oklch */ color: oklch(58.2% 0.167 332.8);
Tailwind
colors: {
  custom: {
    50: '#cb85c0',
    500: '#b24ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b24ea5;
$custom-light: #cb85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ea5",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 307.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.16721,
    "h": 332.8
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#B24EA5
secondary
#98C49D
accent
#CF6859
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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