#C24FAF#C24FAF

#C24FAF is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.184 H 334.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C24FAF
RGBrgb(194, 79, 175)
HSLhsl(310, 49%, 54%)
HSVhsv(310, 59%, 76%)
CMYKcmyk(0%, 59.3%, 9.8%, 23.9%)
CIE-LABlab(52.02, 57.47, -29.14)
CIE-LCHlch(52.02, 64.44, 333.12°)
OKLaboklab(61.03% 0.1665 -0.0793)
OKLCHoklch(61.03% 0.184 334.5)
XYZxyz(32.7822, 20.1589, 42.7136)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FAF #4FC262
analogous
#9B4FC2 #C24FAF #C24F75
triadic
#C24FAF #AFC24F #4FAFC2
tetradic
#C24FAF #C29B4F #4FC262 #4F75C2
square
#C24FAF #C29B4F #4FC262 #4F75C2
split-complementary
#C24FAF #75C24F #4FC29B
monochromatic
#702764 #9D378C #C24FAF #D27CC4 #E2AAD8

Accessibility & contrast

On white

4.17
#C24FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C24FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FAF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FAF#FFFFFF#000000##000000
##C24FAF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#7282AC
Tritanopia (blue-blind)
#CB5678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24faf;
/* rgb */ color: rgb(194, 79, 175);
/* oklch */ color: oklch(61.0% 0.184 334.5);
Tailwind
colors: {
  custom: {
    50: '#d787c7',
    500: '#c24faf',
    950: '#000000',
  },
}
SCSS
$custom: #c24faf;
$custom-light: #d787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c24faf",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 309.913,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.18442,
    "h": 334.5
  },
  "luminance": 0.20156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C24FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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