#C24DBF#C24DBF

#C24DBF is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.200 H 328.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C24DBF
RGBrgb(194, 77, 191)
HSLhsl(302, 49%, 53%)
HSVhsv(302, 60%, 76%)
CMYKcmyk(0%, 60.3%, 1.5%, 23.9%)
CIE-LABlab(52.44, 60.98, -37.76)
CIE-LCHlch(52.44, 71.73, 328.23°)
OKLaboklab(61.58% 0.171 -0.104)
OKLCHoklch(61.58% 0.2 328.7)
XYZxyz(34.3056, 20.5410, 51.4380)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24DBF #4DC250
analogous
#8A4DC2 #C24DBF #C24D85
triadic
#C24DBF #BFC24D #4DBFC2
tetradic
#C24DBF #C28A4D #4DC250 #4D85C2
square
#C24DBF #C28A4D #4DC250 #4D85C2
split-complementary
#C24DBF #85C24D #4DC28A
monochromatic
#6F266D #9C369A #C24DBF #D27BCF #E1A8E0

Accessibility & contrast

On white

4.11
#C24DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C24DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24DBF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24DBF#FFFFFF#000000##000000
##C24DBF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#C85B7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c24dbf;
/* rgb */ color: rgb(194, 77, 191);
/* oklch */ color: oklch(61.6% 0.200 328.7);
Tailwind
colors: {
  custom: {
    50: '#d786d3',
    500: '#c24dbf',
    950: '#000000',
  },
}
SCSS
$custom: #c24dbf;
$custom-light: #d786d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c24dbf",
  "rgb": {
    "r": 194,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 301.538,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.20014,
    "h": 328.7
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#C24DBF
secondary
#9CCF9D
accent
#D9534F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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