#B24FA5#B24FA5

#B24FA5 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.4% C 0.166 H 332.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B24FA5
RGBrgb(178, 79, 165)
HSLhsl(308, 39%, 50%)
HSVhsv(308, 56%, 70%)
CMYKcmyk(0%, 55.6%, 7.3%, 30.2%)
CIE-LABlab(49.22, 51.35, -27.80)
CIE-LCHlch(49.22, 58.39, 331.57°)
OKLaboklab(58.36% 0.1473 -0.0758)
OKLCHoklch(58.36% 0.166 332.8)
XYZxyz(27.9476, 17.7755, 37.5490)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FA5 #4FB25C
analogous
#8D4FB2 #B24FA5 #B24F73
triadic
#B24FA5 #A5B24F #4FA5B2
tetradic
#B24FA5 #B28D4F #4FB25C #4F73B2
square
#B24FA5 #B28D4F #4FB25C #4F73B2
split-complementary
#B24FA5 #73B24F #4FB28D
monochromatic
#5E2957 #883C7E #B24FA5 #C57ABB #D7A4D1

Accessibility & contrast

On white

4.61
#B24FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B24FA5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FA5#FFFFFF#000000##FFFFFF
##B24FA51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CA8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#B95673
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24fa5;
/* rgb */ color: rgb(178, 79, 165);
/* oklch */ color: oklch(58.4% 0.166 332.8);
Tailwind
colors: {
  custom: {
    50: '#cb85c0',
    500: '#b24fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b24fa5;
$custom-light: #cb85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fa5",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 307.879,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.16564,
    "h": 332.8
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#B24FA5
secondary
#98C49E
accent
#CF6859
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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