#B24BB7#B24BB7

#B24BB7 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.8% C 0.187 H 325.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B24BB7
RGBrgb(178, 75, 183)
HSLhsl(297, 43%, 51%)
HSVhsv(297, 59%, 72%)
CMYKcmyk(2.7%, 59%, 0%, 28.2%)
CIE-LABlab(49.40, 56.35, -38.08)
CIE-LCHlch(49.40, 68.01, 325.96°)
OKLaboklab(58.76% 0.1548 -0.1053)
OKLCHoklch(58.76% 0.187 325.8)
XYZxyz(29.4228, 17.9178, 46.6993)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BB7 #50B74B
analogous
#7C4BB7 #B24BB7 #B74B86
triadic
#B24BB7 #B7B24B #4BB7B2
tetradic
#B24BB7 #B77C4B #50B74B #4B86B7
square
#B24BB7 #B77C4B #50B74B #4B86B7
split-complementary
#B24BB7 #86B74B #4BB77C
monochromatic
#5E2761 #89388D #B24BB7 #C577C8 #D7A2DA

Accessibility & contrast

On white

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

On black

4.58
#B24BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BB7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BB7#FFFFFF#000000##000000
##B24BB71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#607AB4
Tritanopia (blue-blind)
#B6597A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24bb7;
/* rgb */ color: rgb(178, 75, 183);
/* oklch */ color: oklch(58.8% 0.187 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc83cd',
    500: '#b24bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b24bb7;
$custom-light: #cc83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bb7",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 297.222,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.18721,
    "h": 325.8
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#B24BB7
secondary
#99C797
accent
#D3555B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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