#C24BB7#C24BB7

#C24BB7 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 61.0% C 0.196 H 331.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C24BB7
RGBrgb(194, 75, 183)
HSLhsl(306, 49%, 53%)
HSVhsv(306, 61%, 76%)
CMYKcmyk(0%, 61.3%, 5.7%, 23.9%)
CIE-LABlab(51.75, 60.50, -34.21)
CIE-LCHlch(51.75, 69.50, 330.51°)
OKLaboklab(60.95% 0.1726 -0.0938)
OKLCHoklch(60.95% 0.196 331.5)
XYZxyz(33.3114, 19.9228, 46.8816)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24BB7 #4BC256
analogous
#914BC2 #C24BB7 #C24B7C
triadic
#C24BB7 #B7C24B #4BB7C2
tetradic
#C24BB7 #C2914B #4BC256 #4B7CC2
square
#C24BB7 #C2914B #4BC256 #4B7CC2
split-complementary
#C24BB7 #7CC24B #4BC291
monochromatic
#6D2567 #9B3592 #C24BB7 #D179C9 #E1A6DC

Accessibility & contrast

On white

4.21
#C24BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C24BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24BB7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24BB7#FFFFFF#000000##000000
##C24BB71.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#C9567A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c24bb7;
/* rgb */ color: rgb(194, 75, 183);
/* oklch */ color: oklch(61.0% 0.196 331.5);
Tailwind
colors: {
  custom: {
    50: '#d785cd',
    500: '#c24bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c24bb7;
$custom-light: #d785cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c24bb7",
  "rgb": {
    "r": 194,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 305.546,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.19644,
    "h": 331.5
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C24BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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