#B24FA3#B24FA3

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

Color values

HEX#B24FA3
RGBrgb(178, 79, 163)
HSLhsl(309, 39%, 50%)
HSVhsv(309, 56%, 70%)
CMYKcmyk(0%, 55.6%, 8.4%, 30.2%)
CIE-LABlab(49.13, 51.02, -26.76)
CIE-LCHlch(49.13, 57.61, 332.32°)
OKLaboklab(58.26% 0.147 -0.0728)
OKLCHoklch(58.26% 0.164 333.6)
XYZxyz(27.7670, 17.7032, 36.5978)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FA3 #4FB25E
analogous
#8F4FB2 #B24FA3 #B24F71
triadic
#B24FA3 #A3B24F #4FA3B2
tetradic
#B24FA3 #B28F4F #4FB25E #4F71B2
square
#B24FA3 #B28F4F #4FB25E #4F71B2
split-complementary
#B24FA3 #71B24F #4FB28F
monochromatic
#5E2956 #883C7D #B24FA3 #C57AB9 #D7A4D0

Accessibility & contrast

On white

4.63
#B24FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B24FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24FA3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FA3#FFFFFF#000000##FFFFFF
##B24FA31.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#B95572
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24fa3;
/* rgb */ color: rgb(178, 79, 163);
/* oklch */ color: oklch(58.3% 0.164 333.6);
Tailwind
colors: {
  custom: {
    50: '#cb85be',
    500: '#b24fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b24fa3;
$custom-light: #cb85be;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fa3",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 309.091,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.16399,
    "h": 333.6
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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