#B24CA7#B24CA7

#B24CA7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.172 H 331.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B24CA7
RGBrgb(178, 76, 167)
HSLhsl(306, 40%, 50%)
HSVhsv(306, 57%, 70%)
CMYKcmyk(0%, 57.3%, 6.2%, 30.2%)
CIE-LABlab(48.79, 53.10, -29.65)
CIE-LCHlch(48.79, 60.81, 330.82°)
OKLaboklab(58.07% 0.1517 -0.081)
OKLCHoklch(58.07% 0.172 331.9)
XYZxyz(27.9195, 17.4258, 38.4447)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA7 #4CB257
analogous
#8A4CB2 #B24CA7 #B24C74
triadic
#B24CA7 #A7B24C #4CA7B2
tetradic
#B24CA7 #B28A4C #4CB257 #4C74B2
square
#B24CA7 #B28A4C #4CB257 #4C74B2
split-complementary
#B24CA7 #74B24C #4CB28A
monochromatic
#5C2757 #873A7F #B24CA7 #C576BC #D7A1D1

Accessibility & contrast

On white

4.68
#B24CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B24CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA7#FFFFFF#000000##FFFFFF
##B24CA71.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAA
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#B95472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24ca7;
/* rgb */ color: rgb(178, 76, 167);
/* oklch */ color: oklch(58.1% 0.172 331.9);
Tailwind
colors: {
  custom: {
    50: '#cc83c1',
    500: '#b24ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca7;
$custom-light: #cc83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca7",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 306.471,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58068,
    "c": 0.17196,
    "h": 331.9
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#B24CA7
secondary
#96C49B
accent
#D06558
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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