#B24CAF#B24CAF

#B24CAF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.179 H 328.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B24CAF
RGBrgb(178, 76, 175)
HSLhsl(302, 40%, 50%)
HSVhsv(302, 57%, 70%)
CMYKcmyk(0%, 57.3%, 1.7%, 30.2%)
CIE-LABlab(49.17, 54.48, -33.76)
CIE-LCHlch(49.17, 64.09, 328.21°)
OKLaboklab(58.47% 0.1528 -0.0928)
OKLCHoklch(58.47% 0.179 328.7)
XYZxyz(28.6821, 17.7308, 42.4608)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CAF #4CB24F
analogous
#824CB2 #B24CAF #B24C7C
triadic
#B24CAF #AFB24C #4CAFB2
tetradic
#B24CAF #B2824C #4CB24F #4C7CB2
square
#B24CAF #B2824C #4CB24F #4C7CB2
split-complementary
#B24CAF #7CB24C #4CB282
monochromatic
#5C275B #873A85 #B24CAF #C576C2 #D7A1D5

Accessibility & contrast

On white

4.62
#B24CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B24CAF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CAF#FFFFFF#000000##FFFFFF
##B24CAF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#B85776
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24caf;
/* rgb */ color: rgb(178, 76, 175);
/* oklch */ color: oklch(58.5% 0.179 328.7);
Tailwind
colors: {
  custom: {
    50: '#cc84c7',
    500: '#b24caf',
    950: '#000000',
  },
}
SCSS
$custom: #b24caf;
$custom-light: #cc84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24caf",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 301.765,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.17874,
    "h": 328.7
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#B24CAF
secondary
#96C497
accent
#D05B58
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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