#C24EAF#C24EAF

#C24EAF is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.186 H 334.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C24EAF
RGBrgb(194, 78, 175)
HSLhsl(310, 49%, 53%)
HSVhsv(310, 60%, 76%)
CMYKcmyk(0%, 59.8%, 9.8%, 23.9%)
CIE-LABlab(51.86, 57.91, -29.39)
CIE-LCHlch(51.86, 64.94, 333.09°)
OKLaboklab(60.91% 0.1678 -0.08)
OKLCHoklch(60.91% 0.186 334.5)
XYZxyz(32.7106, 20.0158, 42.6897)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24EAF #4EC261
analogous
#9B4EC2 #C24EAF #C24E75
triadic
#C24EAF #AFC24E #4EAFC2
tetradic
#C24EAF #C29B4E #4EC261 #4E75C2
square
#C24EAF #C29B4E #4EC261 #4E75C2
split-complementary
#C24EAF #75C24E #4EC29B
monochromatic
#6F2663 #9D368C #C24EAF #D27CC4 #E1A9D8

Accessibility & contrast

On white

4.20
#C24EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C24EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24EAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24EAF#FFFFFF#000000##000000
##C24EAF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#CB5577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24eaf;
/* rgb */ color: rgb(194, 78, 175);
/* oklch */ color: oklch(60.9% 0.186 334.5);
Tailwind
colors: {
  custom: {
    50: '#d786c7',
    500: '#c24eaf',
    950: '#000000',
  },
}
SCSS
$custom: #c24eaf;
$custom-light: #d786c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c24eaf",
  "rgb": {
    "r": 194,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 309.828,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.18588,
    "h": 334.5
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#C24EAF
secondary
#9DCFA5
accent
#D86650
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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