#B24BC1#B24BC1

#B24BC1 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.3% C 0.196 H 322.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B24BC1
RGBrgb(178, 75, 193)
HSLhsl(292, 49%, 53%)
HSVhsv(292, 61%, 76%)
CMYKcmyk(7.8%, 61.1%, 0%, 24.3%)
CIE-LABlab(49.92, 58.19, -43.06)
CIE-LCHlch(49.92, 72.39, 323.50°)
OKLaboklab(59.31% 0.1554 -0.1197)
OKLCHoklch(59.31% 0.196 322.4)
XYZxyz(30.5008, 18.3490, 52.3769)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BC1 #5AC14B
analogous
#774BC1 #B24BC1 #C14B95
triadic
#B24BC1 #C1B24B #4BC1B2
tetradic
#B24BC1 #C1774B #5AC14B #4B95C1
square
#B24BC1 #C1774B #5AC14B #4B95C1
split-complementary
#B24BC1 #95C14B #4BC177
monochromatic
#63256C #8D359A #B24BC1 #C579D1 #D9A6E0

Accessibility & contrast

On white

4.50
#B24BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#B24BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24BC1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24BC1#FFFFFF#000000##000000
##B24BC11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC5
Deuteranopia (green-blind)
#5A7BBE
Tritanopia (blue-blind)
#B45D7F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b24bc1;
/* rgb */ color: rgb(178, 75, 193);
/* oklch */ color: oklch(59.3% 0.196 322.4);
Tailwind
colors: {
  custom: {
    50: '#cc84d4',
    500: '#b24bc1',
    950: '#000000',
  },
}
SCSS
$custom: #b24bc1;
$custom-light: #cc84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b24bc1",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 292.373,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.19619,
    "h": 322.4
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#B24BC1
secondary
#A1CE9A
accent
#D84F61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B24BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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