#B24CB0#B24CB0

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

Color values

HEX#B24CB0
RGBrgb(178, 76, 176)
HSLhsl(301, 40%, 50%)
HSVhsv(301, 57%, 70%)
CMYKcmyk(0%, 57.3%, 1.1%, 30.2%)
CIE-LABlab(49.22, 54.65, -34.27)
CIE-LCHlch(49.22, 64.51, 327.91°)
OKLaboklab(58.52% 0.1529 -0.0943)
OKLCHoklch(58.52% 0.18 328.3)
XYZxyz(28.7806, 17.7703, 42.9800)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CB0 #4CB24E
analogous
#814CB2 #B24CB0 #B24C7D
triadic
#B24CB0 #B0B24C #4CB0B2
tetradic
#B24CB0 #B2814C #4CB24E #4C7DB2
square
#B24CB0 #B2814C #4CB24E #4C7DB2
split-complementary
#B24CB0 #7DB24C #4CB281
monochromatic
#5C275B #873A86 #B24CB0 #C576C3 #D7A1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24CB0#FFFFFF#000000##FFFFFF
##B24CB01.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)
#426CB3
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#B75877
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24cb0;
/* rgb */ color: rgb(178, 76, 176);
/* oklch */ color: oklch(58.5% 0.180 328.3);
Tailwind
colors: {
  custom: {
    50: '#cc84c8',
    500: '#b24cb0',
    950: '#000000',
  },
}
SCSS
$custom: #b24cb0;
$custom-light: #cc84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cb0",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 301.176,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.1796,
    "h": 328.3
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#B24CB0
secondary
#96C497
accent
#D05A58
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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