#B24CA5#B24CA5

#B24CA5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.170 H 332.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B24CA5
RGBrgb(178, 76, 165)
HSLhsl(308, 40%, 50%)
HSVhsv(308, 57%, 70%)
CMYKcmyk(0%, 57.3%, 7.3%, 30.2%)
CIE-LABlab(48.70, 52.76, -28.61)
CIE-LCHlch(48.70, 60.02, 331.53°)
OKLaboklab(57.97% 0.1514 -0.0781)
OKLCHoklch(57.97% 0.17 332.7)
XYZxyz(27.7361, 17.3524, 37.4785)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA5 #4CB259
analogous
#8C4CB2 #B24CA5 #B24C72
triadic
#B24CA5 #A5B24C #4CA5B2
tetradic
#B24CA5 #B28C4C #4CB259 #4C72B2
square
#B24CA5 #B28C4C #4CB259 #4C72B2
split-complementary
#B24CA5 #72B24C #4CB28C
monochromatic
#5C2755 #873A7D #B24CA5 #C576BB #D7A1D0

Accessibility & contrast

On white

4.70
#B24CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B24CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA5#FFFFFF#000000##FFFFFF
##B24CA51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#B95471
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ca5;
/* rgb */ color: rgb(178, 76, 165);
/* oklch */ color: oklch(58.0% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#cc83c0',
    500: '#b24ca5',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca5;
$custom-light: #cc83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca5",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 307.647,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.17031,
    "h": 332.7
  },
  "luminance": 0.1735
}

Semantic roles & 50–950 ramp

primary
#B24CA5
secondary
#96C49C
accent
#D06758
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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