#C24CB7#C24CB7

#C24CB7 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.195 H 331.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C24CB7
RGBrgb(194, 76, 183)
HSLhsl(306, 49%, 53%)
HSVhsv(306, 61%, 76%)
CMYKcmyk(0%, 60.8%, 5.7%, 23.9%)
CIE-LABlab(51.90, 60.07, -33.97)
CIE-LCHlch(51.90, 69.01, 330.51°)
OKLaboklab(61.06% 0.1714 -0.0931)
OKLCHoklch(61.06% 0.195 331.5)
XYZxyz(33.3797, 20.0595, 46.9043)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CB7 #4CC257
analogous
#924CC2 #C24CB7 #C24C7C
triadic
#C24CB7 #B7C24C #4CB7C2
tetradic
#C24CB7 #C2924C #4CC257 #4C7CC2
square
#C24CB7 #C2924C #4CC257 #4C7CC2
split-complementary
#C24CB7 #7CC24C #4CC292
monochromatic
#6E2667 #9C3592 #C24CB7 #D27AC9 #E1A7DC

Accessibility & contrast

On white

4.19
#C24CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C24CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24CB7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24CB7#FFFFFF#000000##000000
##C24CB71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#C9577B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24cb7;
/* rgb */ color: rgb(194, 76, 183);
/* oklch */ color: oklch(61.1% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#d785cd',
    500: '#c24cb7',
    950: '#000000',
  },
}
SCSS
$custom: #c24cb7;
$custom-light: #d785cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cb7",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 305.593,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.19503,
    "h": 331.5
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#C24CB7
secondary
#9BCEA0
accent
#D95C4F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C24CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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