#B24CB4#B24CB4

#B24CB4 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.183 H 326.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B24CB4
RGBrgb(178, 76, 180)
HSLhsl(299, 41%, 50%)
HSVhsv(299, 58%, 71%)
CMYKcmyk(1.1%, 57.8%, 0%, 29.4%)
CIE-LABlab(49.41, 55.36, -36.30)
CIE-LCHlch(49.41, 66.20, 326.75°)
OKLaboklab(58.72% 0.1533 -0.1001)
OKLCHoklch(58.72% 0.183 326.8)
XYZxyz(29.1822, 17.9309, 45.0951)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CB4 #4EB44C
analogous
#7E4CB4 #B24CB4 #B44C82
triadic
#B24CB4 #B4B24C #4CB4B2
tetradic
#B24CB4 #B47E4C #4EB44C #4C82B4
square
#B24CB4 #B47E4C #4EB44C #4C82B4
split-complementary
#B24CB4 #82B44C #4CB47E
monochromatic
#5D275E #883A89 #B24CB4 #C577C6 #D7A2D8

Accessibility & contrast

On white

4.58
#B24CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B24CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CB4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CB4#FFFFFF#000000##000000
##B24CB41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#B75979
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24cb4;
/* rgb */ color: rgb(178, 76, 180);
/* oklch */ color: oklch(58.7% 0.183 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc84cb',
    500: '#b24cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b24cb4;
$custom-light: #cc84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cb4",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 298.846,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.18309,
    "h": 326.8
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#B24CB4
secondary
#98C597
accent
#D15759
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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