#B24CDC#B24CDC

#B24CDC is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.220 H 314.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B24CDC
RGBrgb(178, 76, 220)
HSLhsl(283, 67%, 58%)
HSVhsv(283, 65%, 86%)
CMYKcmyk(19.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(51.61, 63.02, -55.82)
CIE-LCHlch(51.61, 84.18, 318.46°)
OKLaboklab(61.03% 0.1542 -0.157)
OKLCHoklch(61.03% 0.22 314.5)
XYZxyz(33.8607, 19.8023, 69.7348)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24CDC #76DC4C
analogous
#6A4CDC #B24CDC #DC4CBE
triadic
#B24CDC #DCB24C #4CDCB2
tetradic
#B24CDC #DC6A4C #76DC4C #4CBEDC
square
#B24CDC #DC6A4C #76DC4C #4CBEDC
split-complementary
#B24CDC #BEDC4C #4CDC6A
monochromatic
#6F1C91 #9626C4 #B24CDC #C87FE6 #DEB2F0

Accessibility & contrast

On white

4.23
#B24CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B24CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B24CDC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24CDC#FFFFFF#000000##000000
##B24CDC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#AE688E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b24cdc;
/* rgb */ color: rgb(178, 76, 220);
/* oklch */ color: oklch(61.0% 0.220 314.5);
Tailwind
colors: {
  custom: {
    50: '#cd85e7',
    500: '#b24cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b24cdc;
$custom-light: #cd85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b24cdc",
  "rgb": {
    "r": 178,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 282.5,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.22002,
    "h": 314.5
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#B24CDC
secondary
#B6DFA5
accent
#EA3E70
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B24CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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