#B24EAA#B24EAA

#B24EAA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.171 H 330.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B24EAA
RGBrgb(178, 78, 170)
HSLhsl(305, 39%, 50%)
HSVhsv(305, 56%, 70%)
CMYKcmyk(0%, 56.2%, 4.5%, 30.2%)
CIE-LABlab(49.27, 52.68, -30.66)
CIE-LCHlch(49.27, 60.95, 329.80°)
OKLaboklab(58.47% 0.1494 -0.0839)
OKLCHoklch(58.47% 0.171 330.7)
XYZxyz(28.3400, 17.8179, 39.9689)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EAA #4EB256
analogous
#884EB2 #B24EAA #B24E78
triadic
#B24EAA #AAB24E #4EAAB2
tetradic
#B24EAA #B2884E #4EB256 #4E78B2
square
#B24EAA #B2884E #4EB256 #4E78B2
split-complementary
#B24EAA #78B24E #4EB288
monochromatic
#5D2959 #883B82 #B24EAA #C579BE #D7A3D3

Accessibility & contrast

On white

4.60
#B24EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B24EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24EAA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EAA#FFFFFF#000000##FFFFFF
##B24EAA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#B85775
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24eaa;
/* rgb */ color: rgb(178, 78, 170);
/* oklch */ color: oklch(58.5% 0.171 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb85c3',
    500: '#b24eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b24eaa;
$custom-light: #cb85c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b24eaa",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 304.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.1714,
    "h": 330.7
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#B24EAA
secondary
#98C49B
accent
#CF6259
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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