#C24CBA#C24CBA

#C24CBA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.197 H 330.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C24CBA
RGBrgb(194, 76, 186)
HSLhsl(304, 49%, 53%)
HSVhsv(304, 61%, 76%)
CMYKcmyk(0%, 60.8%, 4.1%, 23.9%)
CIE-LABlab(52.05, 60.57, -35.49)
CIE-LCHlch(52.05, 70.20, 329.63°)
OKLaboklab(61.21% 0.1717 -0.0974)
OKLCHoklch(61.21% 0.197 330.4)
XYZxyz(33.6953, 20.1857, 48.5664)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CBA #4CC254
analogous
#8F4CC2 #C24CBA #C24C7F
triadic
#C24CBA #BAC24C #4CBAC2
tetradic
#C24CBA #C28F4C #4CC254 #4C7FC2
square
#C24CBA #C28F4C #4CC254 #4C7FC2
split-complementary
#C24CBA #7FC24C #4CC28F
monochromatic
#6E2669 #9C3595 #C24CBA #D27ACC #E1A7DD

Accessibility & contrast

On white

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

On black

5.04
#C24CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24CBA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24CBA#FFFFFF#000000##000000
##C24CBA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#C9587C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24cba;
/* rgb */ color: rgb(194, 76, 186);
/* oklch */ color: oklch(61.2% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#d785cf',
    500: '#c24cba',
    950: '#000000',
  },
}
SCSS
$custom: #c24cba;
$custom-light: #d785cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cba",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 304.068,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.19744,
    "h": 330.4
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#C24CBA
secondary
#9BCE9F
accent
#D9584F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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