#C24FB2#C24FB2

#C24FB2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.187 H 333.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C24FB2
RGBrgb(194, 79, 178)
HSLhsl(308, 49%, 54%)
HSVhsv(308, 59%, 76%)
CMYKcmyk(0%, 59.3%, 8.2%, 23.9%)
CIE-LABlab(52.15, 57.95, -30.68)
CIE-LCHlch(52.15, 65.57, 332.11°)
OKLaboklab(61.17% 0.1669 -0.0837)
OKLCHoklch(61.17% 0.187 333.4)
XYZxyz(33.0801, 20.2781, 44.2826)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FB2 #4FC25F
analogous
#984FC2 #C24FB2 #C24F78
triadic
#C24FB2 #B2C24F #4FB2C2
tetradic
#C24FB2 #C2984F #4FC25F #4F78C2
square
#C24FB2 #C2984F #4FC25F #4F78C2
split-complementary
#C24FB2 #78C24F #4FC298
monochromatic
#702766 #9D378F #C24FB2 #D27CC6 #E2AADA

Accessibility & contrast

On white

4.15
#C24FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C24FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FB2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FB2#FFFFFF#000000##000000
##C24FB21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7182AF
Tritanopia (blue-blind)
#CA5779
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24fb2;
/* rgb */ color: rgb(194, 79, 178);
/* oklch */ color: oklch(61.2% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#d787c9',
    500: '#c24fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c24fb2;
$custom-light: #d787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fb2",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 308.348,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.18675,
    "h": 333.4
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#C24FB2
secondary
#9ECFA5
accent
#D86350
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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