#B24BB2#B24BB2

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

Color values

HEX#B24BB2
RGBrgb(178, 75, 178)
HSLhsl(300, 41%, 50%)
HSVhsv(300, 58%, 70%)
CMYKcmyk(0%, 57.9%, 0%, 30.2%)
CIE-LABlab(49.15, 55.46, -35.55)
CIE-LCHlch(49.15, 65.88, 327.34°)
OKLaboklab(58.5% 0.1544 -0.098)
OKLCHoklch(58.5% 0.183 327.6)
XYZxyz(28.9116, 17.7133, 44.0070)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BB2 #4BB24B
analogous
#7F4BB2 #B24BB2 #B24B7F
triadic
#B24BB2 #B2B24B #4BB2B2
tetradic
#B24BB2 #B27F4B #4BB24B #4B7FB2
square
#B24BB2 #B27F4B #4BB24B #4B7FB2
split-complementary
#B24BB2 #7FB24B #4BB27F
monochromatic
#5C275C #873987 #B24BB2 #C575C5 #D7A0D7

Accessibility & contrast

On white

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

On black

4.54
#B24BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B24BB2#FFFFFF#000000##FFFFFF
##B24BB21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#B75777
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24bb2;
/* rgb */ color: rgb(178, 75, 178);
/* oklch */ color: oklch(58.5% 0.183 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc83c9',
    500: '#b24bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b24bb2;
$custom-light: #cc83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bb2",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.18283,
    "h": 327.6
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B24BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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