#B24EBA#B24EBA

#B24EBA is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.185 H 324.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B24EBA
RGBrgb(178, 78, 186)
HSLhsl(296, 44%, 52%)
HSVhsv(296, 58%, 73%)
CMYKcmyk(4.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(50.05, 55.53, -38.79)
CIE-LCHlch(50.05, 67.74, 325.07°)
OKLaboklab(59.29% 0.1513 -0.1073)
OKLCHoklch(59.29% 0.185 324.6)
XYZxyz(29.9467, 18.4606, 48.4307)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24EBA #56BA4E
analogous
#7C4EBA #B24EBA #BA4E8C
triadic
#B24EBA #BAB24E #4EBAB2
tetradic
#B24EBA #BA7C4E #56BA4E #4E8CBA
square
#B24EBA #BA7C4E #56BA4E #4E8CBA
split-complementary
#B24EBA #8CBA4E #4EBA7C
monochromatic
#612866 #8B3992 #B24EBA #C57ACB #D8A6DC

Accessibility & contrast

On white

4.48
#B24EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B24EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24EBA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24EBA#FFFFFF#000000##000000
##B24EBA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#B65D7D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24eba;
/* rgb */ color: rgb(178, 78, 186);
/* oklch */ color: oklch(59.3% 0.185 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc85cf',
    500: '#b24eba',
    950: '#000000',
  },
}
SCSS
$custom: #b24eba;
$custom-light: #cc85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24eba",
  "rgb": {
    "r": 178,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 295.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.18548,
    "h": 324.6
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#B24EBA
secondary
#9ECA9A
accent
#D4545E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B24EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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