#C24CB1#C24CB1

#C24CB1 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.190 H 333.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C24CB1
RGBrgb(194, 76, 177)
HSLhsl(309, 49%, 53%)
HSVhsv(309, 61%, 76%)
CMYKcmyk(0%, 60.8%, 8.8%, 23.9%)
CIE-LABlab(51.63, 59.10, -30.91)
CIE-LCHlch(51.63, 66.70, 332.39°)
OKLaboklab(60.77% 0.1706 -0.0843)
OKLCHoklch(60.77% 0.19 333.7)
XYZxyz(32.7685, 19.8150, 43.6852)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CB1 #4CC25D
analogous
#984CC2 #C24CB1 #C24C76
triadic
#C24CB1 #B1C24C #4CB1C2
tetradic
#C24CB1 #C2984C #4CC25D #4C76C2
square
#C24CB1 #C2984C #4CC25D #4C76C2
split-complementary
#C24CB1 #76C24C #4CC298
monochromatic
#6E2664 #9C358D #C24CB1 #D27AC5 #E1A7D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C24CB1#FFFFFF#000000##000000
##C24CB11.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)
#4A70B4
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#CA5577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24cb1;
/* rgb */ color: rgb(194, 76, 177);
/* oklch */ color: oklch(60.8% 0.190 333.7);
Tailwind
colors: {
  custom: {
    50: '#d785c8',
    500: '#c24cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c24cb1;
$custom-light: #d785c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cb1",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 308.644,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.19032,
    "h": 333.7
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#C24CB1
secondary
#9BCEA3
accent
#D9634F
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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