#C24CC7#C24CC7

#C24CC7 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.208 H 326.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C24CC7
RGBrgb(194, 76, 199)
HSLhsl(298, 52%, 54%)
HSVhsv(298, 62%, 78%)
CMYKcmyk(2.5%, 61.8%, 0%, 22%)
CIE-LABlab(52.69, 62.78, -41.98)
CIE-LCHlch(52.69, 75.53, 326.23°)
OKLaboklab(61.89% 0.1728 -0.1162)
OKLCHoklch(61.89% 0.208 326.1)
XYZxyz(35.1407, 20.7639, 56.1787)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CC7 #51C74C
analogous
#854CC7 #C24CC7 #C74C8F
triadic
#C24CC7 #C7C24C #4CC7C2
tetradic
#C24CC7 #C7854C #51C74C #4C8FC7
square
#C24CC7 #C7854C #51C74C #4C8FC7
split-complementary
#C24CC7 #8FC74C #4CC785
monochromatic
#712474 #9E33A3 #C24CC7 #D27BD6 #E2A9E4

Accessibility & contrast

On white

4.08
#C24CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C24CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24CC7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24CC7#FFFFFF#000000##000000
##C24CC71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#C75D83
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c24cc7;
/* rgb */ color: rgb(194, 76, 199);
/* oklch */ color: oklch(61.9% 0.208 326.1);
Tailwind
colors: {
  custom: {
    50: '#d886d8',
    500: '#c24cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c24cc7;
$custom-light: #d886d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cc7",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 297.561,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.20821,
    "h": 326.1
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

primary
#C24CC7
secondary
#9FD29D
accent
#DC4C52
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C24CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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