#B24BB5#B24BB5

#B24BB5 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.185 H 326.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B24BB5
RGBrgb(178, 75, 181)
HSLhsl(298, 42%, 50%)
HSVhsv(298, 59%, 71%)
CMYKcmyk(1.7%, 58.6%, 0%, 29%)
CIE-LABlab(49.30, 55.99, -37.07)
CIE-LCHlch(49.30, 67.15, 326.50°)
OKLaboklab(58.66% 0.1547 -0.1023)
OKLCHoklch(58.66% 0.185 326.5)
XYZxyz(29.2161, 17.8351, 45.6108)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BB5 #4EB54B
analogous
#7D4BB5 #B24BB5 #B54B83
triadic
#B24BB5 #B5B24B #4BB5B2
tetradic
#B24BB5 #B57D4B #4EB54B #4B83B5
square
#B24BB5 #B57D4B #4EB54B #4B83B5
split-complementary
#B24BB5 #83B54B #4BB57D
monochromatic
#5D275F #88398A #B24BB5 #C576C7 #D7A2D9

Accessibility & contrast

On white

4.60
#B24BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B24BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B24BB5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BB5#FFFFFF#000000##FFFFFF
##B24BB51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#B75979
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24bb5;
/* rgb */ color: rgb(178, 75, 181);
/* oklch */ color: oklch(58.7% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc83cb',
    500: '#b24bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b24bb5;
$custom-light: #cc83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bb5",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 298.302,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.18545,
    "h": 326.5
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#B24BB5
secondary
#98C696
accent
#D2565A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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