#B24DC5#B24DC5

#B24DC5 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.8% C 0.197 H 321.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B24DC5
RGBrgb(178, 77, 197)
HSLhsl(291, 51%, 54%)
HSVhsv(291, 61%, 77%)
CMYKcmyk(9.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(50.46, 58.05, -44.51)
CIE-LCHlch(50.46, 73.15, 322.52°)
OKLaboklab(59.77% 0.1532 -0.1239)
OKLCHoklch(59.77% 0.197 321)
XYZxyz(31.0909, 18.8054, 54.8046)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24DC5 #60C54D
analogous
#764DC5 #B24DC5 #C54D9C
triadic
#B24DC5 #C5B24D #4DC5B2
tetradic
#B24DC5 #C5764D #60C54D #4D9CC5
square
#B24DC5 #C5764D #60C54D #4D9CC5
split-complementary
#B24DC5 #9CC54D #4DC576
monochromatic
#662572 #8F34A0 #B24DC5 #C67BD4 #DAA9E3

Accessibility & contrast

On white

4.41
#B24DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#B24DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24DC5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24DC5#FFFFFF#000000##000000
##B24DC51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271C9
Deuteranopia (green-blind)
#597CC2
Tritanopia (blue-blind)
#B36082
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b24dc5;
/* rgb */ color: rgb(178, 77, 197);
/* oklch */ color: oklch(59.8% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#cc85d7',
    500: '#b24dc5',
    950: '#000000',
  },
}
SCSS
$custom: #b24dc5;
$custom-light: #cc85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24dc5",
  "rgb": {
    "r": 178,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 290.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.19703,
    "h": 321
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#B24DC5
secondary
#A5D19D
accent
#DA4D64
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B24DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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