#C24FC2#C24FC2

#C24FC2 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 62.0% C 0.200 H 327.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C24FC2
RGBrgb(194, 79, 194)
HSLhsl(300, 49%, 54%)
HSVhsv(300, 59%, 76%)
CMYKcmyk(0%, 59.3%, 0%, 23.9%)
CIE-LABlab(52.90, 60.63, -38.77)
CIE-LCHlch(52.90, 71.97, 327.41°)
OKLaboklab(61.97% 0.1688 -0.1069)
OKLCHoklch(61.97% 0.2 327.7)
XYZxyz(34.7812, 20.9586, 53.2419)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FC2 #4FC24F
analogous
#884FC2 #C24FC2 #C24F88
triadic
#C24FC2 #C2C24F #4FC2C2
tetradic
#C24FC2 #C2884F #4FC24F #4F88C2
square
#C24FC2 #C2884F #4FC24F #4F88C2
split-complementary
#C24FC2 #88C24F #4FC288
monochromatic
#702770 #9D379D #C24FC2 #D27CD2 #E2AAE2

Accessibility & contrast

On white

4.05
#C24FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C24FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FC2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FC2#FFFFFF#000000##000000
##C24FC21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#6984BF
Tritanopia (blue-blind)
#C85D81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c24fc2;
/* rgb */ color: rgb(194, 79, 194);
/* oklch */ color: oklch(62.0% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#d787d5',
    500: '#c24fc2',
    950: '#000000',
  },
}
SCSS
$custom: #c24fc2;
$custom-light: #d787d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fc2",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61965,
    "c": 0.19982,
    "h": 327.7
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#C24FC2
secondary
#9ECF9E
accent
#D85050
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C24FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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