#B24DB3#B24DB3

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

Color values

HEX#B24DB3
RGBrgb(178, 77, 179)
HSLhsl(299, 40%, 50%)
HSVhsv(299, 57%, 70%)
CMYKcmyk(0.6%, 57%, 0%, 29.8%)
CIE-LABlab(49.53, 54.72, -35.53)
CIE-LCHlch(49.53, 65.25, 327.01°)
OKLaboklab(58.79% 0.1519 -0.0979)
OKLCHoklch(58.79% 0.181 327.2)
XYZxyz(29.1502, 18.0292, 44.5837)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DB3 #4EB34D
analogous
#7F4DB3 #B24DB3 #B34D81
triadic
#B24DB3 #B3B24D #4DB3B2
tetradic
#B24DB3 #B37F4D #4EB34D #4D81B3
square
#B24DB3 #B37F4D #4EB34D #4D81B3
split-complementary
#B24DB3 #81B34D #4DB37F
monochromatic
#5D285E #883A89 #B24DB3 #C578C5 #D7A3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24DB3#FFFFFF#000000##000000
##B24DB31.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)
#416DB6
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#B75979
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24db3;
/* rgb */ color: rgb(178, 77, 179);
/* oklch */ color: oklch(58.8% 0.181 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc84ca',
    500: '#b24db3',
    950: '#000000',
  },
}
SCSS
$custom: #b24db3;
$custom-light: #cc84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b24db3",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 299.412,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.18072,
    "h": 327.2
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#B24DB3
secondary
#98C597
accent
#D05859
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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