#B24CB7#B24CB7

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

Color values

HEX#B24CB7
RGBrgb(178, 76, 183)
HSLhsl(297, 43%, 51%)
HSVhsv(297, 58%, 72%)
CMYKcmyk(2.7%, 58.5%, 0%, 28.2%)
CIE-LABlab(49.56, 55.90, -37.81)
CIE-LCHlch(49.56, 67.49, 325.92°)
OKLaboklab(58.88% 0.1536 -0.1045)
OKLCHoklch(58.88% 0.186 325.8)
XYZxyz(29.4912, 18.0545, 46.7221)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CB7 #51B74C
analogous
#7C4CB7 #B24CB7 #B74C86
triadic
#B24CB7 #B7B24C #4CB7B2
tetradic
#B24CB7 #B77C4C #51B74C #4C86B7
square
#B24CB7 #B77C4C #51B74C #4C86B7
split-complementary
#B24CB7 #86B74C #4CB77C
monochromatic
#5F2761 #89398D #B24CB7 #C578C9 #D8A3DA

Accessibility & contrast

On white

4.55
#B24CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24CB7#FFFFFF#000000##000000
##B24CB71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#B65A7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b24cb7;
/* rgb */ color: rgb(178, 76, 183);
/* oklch */ color: oklch(58.9% 0.186 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc84cd',
    500: '#b24cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b24cb7;
$custom-light: #cc84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cb7",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 297.196,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.18575,
    "h": 325.8
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#B24CB7
secondary
#9AC798
accent
#D2555B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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