#B24AB2#B24AB2

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

Color values

HEX#B24AB2
RGBrgb(178, 74, 178)
HSLhsl(300, 41%, 49%)
HSVhsv(300, 58%, 70%)
CMYKcmyk(0%, 58.4%, 0%, 30.2%)
CIE-LABlab(48.98, 55.91, -35.81)
CIE-LCHlch(48.98, 66.40, 327.36°)
OKLaboklab(58.38% 0.1556 -0.0987)
OKLCHoklch(58.38% 0.184 327.6)
XYZxyz(28.8443, 17.5787, 43.9846)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24AB2 #4AB24A
analogous
#7E4AB2 #B24AB2 #B24A7E
triadic
#B24AB2 #B2B24A #4AB2B2
tetradic
#B24AB2 #B27E4A #4AB24A #4A7EB2
square
#B24AB2 #B27E4A #4AB24A #4A7EB2
split-complementary
#B24AB2 #7EB24A #4AB27E
monochromatic
#5C265C #873887 #B24AB2 #C574C5 #D79FD7

Accessibility & contrast

On white

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

On black

4.52
#B24AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B24AB2#FFFFFF#000000##FFFFFF
##B24AB21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#6279AF
Tritanopia (blue-blind)
#B75777
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ab2;
/* rgb */ color: rgb(178, 74, 178);
/* oklch */ color: oklch(58.4% 0.184 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc83c9',
    500: '#b24ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ab2;
$custom-light: #cc83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ab2",
  "rgb": {
    "r": 178,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.1843,
    "h": 327.6
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#B24AB2
secondary
#94C494
accent
#D15757
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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