#B24AB8#B24AB8

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

Color values

HEX#B24AB8
RGBrgb(178, 74, 184)
HSLhsl(297, 44%, 51%)
HSVhsv(297, 60%, 72%)
CMYKcmyk(3.3%, 59.8%, 0%, 27.8%)
CIE-LABlab(49.28, 56.99, -38.84)
CIE-LCHlch(49.28, 68.96, 325.72°)
OKLaboklab(58.7% 0.1562 -0.1074)
OKLCHoklch(58.7% 0.19 325.5)
XYZxyz(29.4600, 17.8249, 47.2269)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24AB8 #50B84A
analogous
#7B4AB8 #B24AB8 #B84A87
triadic
#B24AB8 #B8B24A #4AB8B2
tetradic
#B24AB8 #B87B4A #50B84A #4A87B8
square
#B24AB8 #B87B4A #50B84A #4A87B8
split-complementary
#B24AB8 #87B84A #4AB87B
monochromatic
#5E2661 #89378D #B24AB8 #C576C9 #D7A2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24AB8#FFFFFF#000000##FFFFFF
##B24AB81.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)
#3A6DBB
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#B6597A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24ab8;
/* rgb */ color: rgb(178, 74, 184);
/* oklch */ color: oklch(58.7% 0.190 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc83ce',
    500: '#b24ab8',
    950: '#000000',
  },
}
SCSS
$custom: #b24ab8;
$custom-light: #cc83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ab8",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 296.727,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.18955,
    "h": 325.5
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#B24AB8
secondary
#99C796
accent
#D3545B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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