#B24BB1#B24BB1

#B24BB1 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.4% C 0.182 H 328.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B24BB1
RGBrgb(178, 75, 177)
HSLhsl(301, 41%, 50%)
HSVhsv(301, 58%, 70%)
CMYKcmyk(0%, 57.9%, 0.6%, 30.2%)
CIE-LABlab(49.10, 55.28, -35.04)
CIE-LCHlch(49.10, 65.45, 327.63°)
OKLaboklab(58.45% 0.1543 -0.0965)
OKLCHoklch(58.45% 0.182 328)
XYZxyz(28.8116, 17.6733, 43.4802)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BB1 #4BB24C
analogous
#804BB2 #B24BB1 #B24B7D
triadic
#B24BB1 #B1B24B #4BB1B2
tetradic
#B24BB1 #B2804B #4BB24C #4B7DB2
square
#B24BB1 #B2804B #4BB24C #4B7DB2
split-complementary
#B24BB1 #7DB24B #4BB280
monochromatic
#5C275B #873986 #B24BB1 #C575C4 #D7A0D7

Accessibility & contrast

On white

4.63
#B24BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B24BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24BB1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BB1#FFFFFF#000000##FFFFFF
##B24BB11.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB4
Deuteranopia (green-blind)
#6379AE
Tritanopia (blue-blind)
#B75777
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24bb1;
/* rgb */ color: rgb(178, 75, 177);
/* oklch */ color: oklch(58.4% 0.182 328.0);
Tailwind
colors: {
  custom: {
    50: '#cc83c8',
    500: '#b24bb1',
    950: '#000000',
  },
}
SCSS
$custom: #b24bb1;
$custom-light: #cc83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bb1",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 300.583,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.18196,
    "h": 328
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#B24BB1
secondary
#95C495
accent
#D15857
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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