#B24DA2#B24DA2

#B24DA2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.166 H 334.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B24DA2
RGBrgb(178, 77, 162)
HSLhsl(310, 40%, 50%)
HSVhsv(310, 57%, 70%)
CMYKcmyk(0%, 56.7%, 9%, 30.2%)
CIE-LABlab(48.74, 51.79, -26.78)
CIE-LCHlch(48.74, 58.31, 332.66°)
OKLaboklab(57.96% 0.1495 -0.0728)
OKLCHoklch(57.96% 0.166 334)
XYZxyz(27.5356, 17.3834, 36.0804)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DA2 #4DB25D
analogous
#904DB2 #B24DA2 #B24D6F
triadic
#B24DA2 #A2B24D #4DA2B2
tetradic
#B24DA2 #B2904D #4DB25D #4D6FB2
square
#B24DA2 #B2904D #4DB25D #4D6FB2
split-complementary
#B24DA2 #6FB24D #4DB290
monochromatic
#5D2854 #873B7B #B24DA2 #C478B8 #D7A2CF

Accessibility & contrast

On white

4.69
#B24DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B24DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24DA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DA2#FFFFFF#000000##FFFFFF
##B24DA21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#6A799F
Tritanopia (blue-blind)
#BA5370
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b24da2;
/* rgb */ color: rgb(178, 77, 162);
/* oklch */ color: oklch(58.0% 0.166 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc84bd',
    500: '#b24da2',
    950: '#000000',
  },
}
SCSS
$custom: #b24da2;
$custom-light: #cc84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24da2",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 309.505,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.16632,
    "h": 334
  },
  "luminance": 0.17381
}

Semantic roles & 50–950 ramp

primary
#B24DA2
secondary
#97C49E
accent
#CF6B58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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