#C24FBF#C24FBF

#C24FBF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.8% C 0.197 H 328.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C24FBF
RGBrgb(194, 79, 191)
HSLhsl(302, 49%, 54%)
HSVhsv(302, 59%, 76%)
CMYKcmyk(0%, 59.3%, 1.5%, 23.9%)
CIE-LABlab(52.76, 60.12, -37.27)
CIE-LCHlch(52.76, 70.73, 328.21°)
OKLaboklab(61.81% 0.1685 -0.1026)
OKLCHoklch(61.81% 0.197 328.7)
XYZxyz(34.4477, 20.8251, 51.4854)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24FBF #4FC252
analogous
#8B4FC2 #C24FBF #C24F85
triadic
#C24FBF #BFC24F #4FBFC2
tetradic
#C24FBF #C28B4F #4FC252 #4F85C2
square
#C24FBF #C28B4F #4FC252 #4F85C2
split-complementary
#C24FBF #85C24F #4FC28B
monochromatic
#70276E #9D379B #C24FBF #D27CD0 #E2AAE0

Accessibility & contrast

On white

4.07
#C24FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C24FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24FBF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24FBF#FFFFFF#000000##000000
##C24FBF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#6B83BC
Tritanopia (blue-blind)
#C85C80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c24fbf;
/* rgb */ color: rgb(194, 79, 191);
/* oklch */ color: oklch(61.8% 0.197 328.7);
Tailwind
colors: {
  custom: {
    50: '#d787d2',
    500: '#c24fbf',
    950: '#000000',
  },
}
SCSS
$custom: #c24fbf;
$custom-light: #d787d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c24fbf",
  "rgb": {
    "r": 194,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 301.565,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.1973,
    "h": 328.7
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#C24FBF
secondary
#9ECF9F
accent
#D85350
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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