#B24FB3#B24FB3

#B24FB3 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.178 H 327.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B24FB3
RGBrgb(178, 79, 179)
HSLhsl(299, 40%, 51%)
HSVhsv(299, 56%, 70%)
CMYKcmyk(0.6%, 55.9%, 0%, 29.8%)
CIE-LABlab(49.87, 53.79, -34.99)
CIE-LCHlch(49.87, 64.17, 326.96°)
OKLaboklab(59.05% 0.1493 -0.0964)
OKLCHoklch(59.05% 0.178 327.2)
XYZxyz(29.2923, 18.3134, 44.6310)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24FB3 #50B34F
analogous
#804FB3 #B24FB3 #B34F82
triadic
#B24FB3 #B3B24F #4FB3B2
tetradic
#B24FB3 #B3804F #50B34F #4F82B3
square
#B24FB3 #B3804F #50B34F #4F82B3
split-complementary
#B24FB3 #82B34F #4FB380
monochromatic
#5E295F #893B89 #B24FB3 #C57AC5 #D7A4D8

Accessibility & contrast

On white

4.50
#B24FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B24FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24FB3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24FB3#FFFFFF#000000##000000
##B24FB31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#B75B7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24fb3;
/* rgb */ color: rgb(178, 79, 179);
/* oklch */ color: oklch(59.0% 0.178 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc85ca',
    500: '#b24fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b24fb3;
$custom-light: #cc85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b24fb3",
  "rgb": {
    "r": 178,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 299.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.17769,
    "h": 327.2
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#B24FB3
secondary
#99C599
accent
#D05859
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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