#B24BB3#B24BB3

#B24BB3 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.184 H 327.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B24BB3
RGBrgb(178, 75, 179)
HSLhsl(299, 41%, 50%)
HSVhsv(299, 58%, 70%)
CMYKcmyk(0.6%, 58.1%, 0%, 29.8%)
CIE-LABlab(49.20, 55.64, -36.06)
CIE-LCHlch(49.20, 66.30, 327.05°)
OKLaboklab(58.55% 0.1545 -0.0994)
OKLCHoklch(58.55% 0.184 327.2)
XYZxyz(29.0124, 17.7536, 44.5377)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BB3 #4CB34B
analogous
#7E4BB3 #B24BB3 #B34B80
triadic
#B24BB3 #B3B24B #4BB3B2
tetradic
#B24BB3 #B37E4B #4CB34B #4B80B3
square
#B24BB3 #B37E4B #4CB34B #4B80B3
split-complementary
#B24BB3 #80B34B #4BB37E
monochromatic
#5C275D #873988 #B24BB3 #C576C5 #D7A1D8

Accessibility & contrast

On white

4.61
#B24BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B24BB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BB3#FFFFFF#000000##FFFFFF
##B24BB31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#B75878
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24bb3;
/* rgb */ color: rgb(178, 75, 179);
/* oklch */ color: oklch(58.6% 0.184 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc83ca',
    500: '#b24bb3',
    950: '#000000',
  },
}
SCSS
$custom: #b24bb3;
$custom-light: #cc83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bb3",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 299.423,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.1837,
    "h": 327.2
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#B24BB3
secondary
#96C495
accent
#D15758
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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