#B24FA4#B24FA4

#B24FA4 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.165 H 333.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B24FA4
RGBrgb(178, 79, 164)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 70%)
CMYKcmyk(0%, 55.6%, 7.9%, 30.2%)
CIE-LABlab(49.18, 51.18, -27.28)
CIE-LCHlch(49.18, 58.00, 331.94°)
OKLaboklab(58.31% 0.1471 -0.0743)
OKLCHoklch(58.31% 0.165 333.2)
XYZxyz(27.8569, 17.7392, 37.0715)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FA4 #4FB25D
analogous
#8E4FB2 #B24FA4 #B24F72
triadic
#B24FA4 #A4B24F #4FA4B2
tetradic
#B24FA4 #B28E4F #4FB25D #4F72B2
square
#B24FA4 #B28E4F #4FB25D #4F72B2
split-complementary
#B24FA4 #72B24F #4FB28E
monochromatic
#5E2956 #883C7D #B24FA4 #C57ABA #D7A4D0

Accessibility & contrast

On white

4.62
#B24FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B24FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24FA4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FA4#FFFFFF#000000##FFFFFF
##B24FA41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA7
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#B95672
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24fa4;
/* rgb */ color: rgb(178, 79, 164);
/* oklch */ color: oklch(58.3% 0.165 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb85bf',
    500: '#b24fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b24fa4;
$custom-light: #cb85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fa4",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 308.485,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.16481,
    "h": 333.2
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#B24FA4
secondary
#98C49F
accent
#CF6959
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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