#B24FA7#B24FA7

#B24FA7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.167 H 331.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B24FA7
RGBrgb(178, 79, 167)
HSLhsl(307, 39%, 50%)
HSVhsv(307, 56%, 70%)
CMYKcmyk(0%, 55.6%, 6.2%, 30.2%)
CIE-LABlab(49.31, 51.69, -28.84)
CIE-LCHlch(49.31, 59.19, 330.84°)
OKLaboklab(58.45% 0.1476 -0.0787)
OKLCHoklch(58.45% 0.167 331.9)
XYZxyz(28.1310, 17.8489, 38.5152)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FA7 #4FB25A
analogous
#8C4FB2 #B24FA7 #B24F75
triadic
#B24FA7 #A7B24F #4FA7B2
tetradic
#B24FA7 #B28C4F #4FB25A #4F75B2
square
#B24FA7 #B28C4F #4FB25A #4F75B2
split-complementary
#B24FA7 #75B24F #4FB28C
monochromatic
#5E2958 #883C80 #B24FA7 #C57ABC #D7A4D2

Accessibility & contrast

On white

4.60
#B24FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B24FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24FA7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FA7#FFFFFF#000000##FFFFFF
##B24FA71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#B95774
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24fa7;
/* rgb */ color: rgb(178, 79, 167);
/* oklch */ color: oklch(58.5% 0.167 331.9);
Tailwind
colors: {
  custom: {
    50: '#cb85c1',
    500: '#b24fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b24fa7;
$custom-light: #cb85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fa7",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 306.667,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.16731,
    "h": 331.9
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#B24FA7
secondary
#98C49D
accent
#CF6659
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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