#C24DAF#C24DAF

#C24DAF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.187 H 334.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C24DAF
RGBrgb(194, 77, 175)
HSLhsl(310, 49%, 53%)
HSVhsv(310, 60%, 76%)
CMYKcmyk(0%, 60.3%, 9.8%, 23.9%)
CIE-LABlab(51.70, 58.35, -29.64)
CIE-LCHlch(51.70, 65.45, 333.07°)
OKLaboklab(60.79% 0.1691 -0.0807)
OKLCHoklch(60.79% 0.187 334.5)
XYZxyz(32.6401, 19.8747, 42.6662)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24DAF #4DC260
analogous
#9B4DC2 #C24DAF #C24D74
triadic
#C24DAF #AFC24D #4DAFC2
tetradic
#C24DAF #C29B4D #4DC260 #4D74C2
square
#C24DAF #C29B4D #4DC260 #4D74C2
split-complementary
#C24DAF #74C24D #4DC29B
monochromatic
#6F2663 #9C368C #C24DAF #D27BC3 #E1A8D8

Accessibility & contrast

On white

4.22
#C24DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C24DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24DAF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24DAF#FFFFFF#000000##000000
##C24DAF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#CB5577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24daf;
/* rgb */ color: rgb(194, 77, 175);
/* oklch */ color: oklch(60.8% 0.187 334.5);
Tailwind
colors: {
  custom: {
    50: '#d786c7',
    500: '#c24daf',
    950: '#000000',
  },
}
SCSS
$custom: #c24daf;
$custom-light: #d786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c24daf",
  "rgb": {
    "r": 194,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 309.744,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60791,
    "c": 0.18733,
    "h": 334.5
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#C24DAF
secondary
#9CCFA4
accent
#D9664F
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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