#B24FAC#B24FAC

#B24FAC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.172 H 329.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B24FAC
RGBrgb(178, 79, 172)
HSLhsl(304, 39%, 50%)
HSVhsv(304, 56%, 70%)
CMYKcmyk(0%, 55.6%, 3.4%, 30.2%)
CIE-LABlab(49.54, 52.56, -31.42)
CIE-LCHlch(49.54, 61.23, 329.13°)
OKLaboklab(58.69% 0.1484 -0.0861)
OKLCHoklch(58.69% 0.172 329.9)
XYZxyz(28.6022, 18.0373, 40.9968)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FAC #4FB255
analogous
#864FB2 #B24FAC #B24F7B
triadic
#B24FAC #ACB24F #4FACB2
tetradic
#B24FAC #B2864F #4FB255 #4F7BB2
square
#B24FAC #B2864F #4FB255 #4F7BB2
split-complementary
#B24FAC #7BB24F #4FB286
monochromatic
#5E295A #883C84 #B24FAC #C57AC0 #D7A4D4

Accessibility & contrast

On white

4.56
#B24FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B24FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FAC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FAC#FFFFFF#000000##000000
##B24FAC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486DAF
Deuteranopia (green-blind)
#677BA9
Tritanopia (blue-blind)
#B85976
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24fac;
/* rgb */ color: rgb(178, 79, 172);
/* oklch */ color: oklch(58.7% 0.172 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb85c5',
    500: '#b24fac',
    950: '#000000',
  },
}
SCSS
$custom: #b24fac;
$custom-light: #cb85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fac",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 303.636,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.17156,
    "h": 329.9
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#B24FAC
secondary
#98C49B
accent
#CF6059
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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