#B24EA3#B24EA3

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

Color values

HEX#B24EA3
RGBrgb(178, 78, 163)
HSLhsl(309, 39%, 50%)
HSVhsv(309, 56%, 70%)
CMYKcmyk(0%, 56.2%, 8.4%, 30.2%)
CIE-LABlab(48.96, 51.49, -27.03)
CIE-LCHlch(48.96, 58.15, 332.30°)
OKLaboklab(58.13% 0.1483 -0.0736)
OKLCHoklch(58.13% 0.166 333.6)
XYZxyz(27.6954, 17.5601, 36.5740)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EA3 #4EB25D
analogous
#8F4EB2 #B24EA3 #B24E71
triadic
#B24EA3 #A3B24E #4EA3B2
tetradic
#B24EA3 #B28F4E #4EB25D #4E71B2
square
#B24EA3 #B28F4E #4EB25D #4E71B2
split-complementary
#B24EA3 #71B24E #4EB28F
monochromatic
#5D2955 #883B7C #B24EA3 #C579B9 #D7A3CF

Accessibility & contrast

On white

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

On black

4.51
#B24EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B24EA3#FFFFFF#000000##FFFFFF
##B24EA31.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#B95571
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ea3;
/* rgb */ color: rgb(178, 78, 163);
/* oklch */ color: oklch(58.1% 0.166 333.6);
Tailwind
colors: {
  custom: {
    50: '#cb85be',
    500: '#b24ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b24ea3;
$custom-light: #cb85be;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ea3",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 309,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.16556,
    "h": 333.6
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#B24EA3
secondary
#98C49E
accent
#CF6A59
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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