#B24CA2#B24CA2

#B24CA2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.168 H 334.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B24CA2
RGBrgb(178, 76, 162)
HSLhsl(309, 40%, 50%)
HSVhsv(309, 57%, 70%)
CMYKcmyk(0%, 57.3%, 9%, 30.2%)
CIE-LABlab(48.57, 52.26, -27.05)
CIE-LCHlch(48.57, 58.84, 332.64°)
OKLaboklab(57.83% 0.1509 -0.0736)
OKLCHoklch(57.83% 0.168 334)
XYZxyz(27.4662, 17.2445, 36.0573)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CA2 #4CB25C
analogous
#8F4CB2 #B24CA2 #B24C6F
triadic
#B24CA2 #A2B24C #4CA2B2
tetradic
#B24CA2 #B28F4C #4CB25C #4C6FB2
square
#B24CA2 #B28F4C #4CB25C #4C6FB2
split-complementary
#B24CA2 #6FB24C #4CB28F
monochromatic
#5C2754 #873A7B #B24CA2 #C576B8 #D7A1CF

Accessibility & contrast

On white

4.72
#B24CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B24CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24CA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CA2#FFFFFF#000000##FFFFFF
##B24CA21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b24ca2;
/* rgb */ color: rgb(178, 76, 162);
/* oklch */ color: oklch(57.8% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#cc83be',
    500: '#b24ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b24ca2;
$custom-light: #cc83be;
$custom-dark: #000000;
JSON
{
  "hex": "#b24ca2",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 309.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.16787,
    "h": 334
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#B24CA2
secondary
#96C49D
accent
#D06B58
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B24CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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