#B24CB2#B24CB2

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

Color values

HEX#B24CB2
RGBrgb(178, 76, 178)
HSLhsl(300, 40%, 50%)
HSVhsv(300, 57%, 70%)
CMYKcmyk(0%, 57.3%, 0%, 30.2%)
CIE-LABlab(49.31, 55.01, -35.29)
CIE-LCHlch(49.31, 65.35, 327.32°)
OKLaboklab(58.62% 0.1531 -0.0972)
OKLCHoklch(58.62% 0.181 327.6)
XYZxyz(28.9800, 17.8500, 44.0298)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CB2 #4CB24C
analogous
#7F4CB2 #B24CB2 #B24C7F
triadic
#B24CB2 #B2B24C #4CB2B2
tetradic
#B24CB2 #B27F4C #4CB24C #4C7FB2
square
#B24CB2 #B27F4C #4CB24C #4C7FB2
split-complementary
#B24CB2 #7FB24C #4CB27F
monochromatic
#5C275C #873A87 #B24CB2 #C576C5 #D7A1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24CB2#FFFFFF#000000##FFFFFF
##B24CB21.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)
#416DB5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#B75878
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b24cb2;
/* rgb */ color: rgb(178, 76, 178);
/* oklch */ color: oklch(58.6% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#cc84c9',
    500: '#b24cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b24cb2;
$custom-light: #cc84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cb2",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.18134,
    "h": 327.6
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#B24CB2
secondary
#96C496
accent
#D05858
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B24CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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