#C24DBD#C24DBD

#C24DBD is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.5% C 0.198 H 329.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C24DBD
RGBrgb(194, 77, 189)
HSLhsl(303, 49%, 53%)
HSVhsv(303, 60%, 76%)
CMYKcmyk(0%, 60.3%, 2.6%, 23.9%)
CIE-LABlab(52.35, 60.64, -36.76)
CIE-LCHlch(52.35, 70.91, 328.78°)
OKLaboklab(61.48% 0.1708 -0.1011)
OKLCHoklch(61.48% 0.198 329.4)
XYZxyz(34.0870, 20.4535, 50.2868)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24DBD #4DC252
analogous
#8C4DC2 #C24DBD #C24D82
triadic
#C24DBD #BDC24D #4DBDC2
tetradic
#C24DBD #C28C4D #4DC252 #4D82C2
square
#C24DBD #C28C4D #4DC252 #4D82C2
split-complementary
#C24DBD #82C24D #4DC28C
monochromatic
#6F266C #9C3698 #C24DBD #D27BCE #E1A8DF

Accessibility & contrast

On white

4.13
#C24DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C24DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24DBD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24DBD#FFFFFF#000000##000000
##C24DBD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#C85A7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c24dbd;
/* rgb */ color: rgb(194, 77, 189);
/* oklch */ color: oklch(61.5% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#d786d1',
    500: '#c24dbd',
    950: '#000000',
  },
}
SCSS
$custom: #c24dbd;
$custom-light: #d786d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c24dbd",
  "rgb": {
    "r": 194,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 302.564,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.19849,
    "h": 329.4
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#C24DBD
secondary
#9CCF9E
accent
#D9554F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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