#C24CB8#C24CB8

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

Color values

HEX#C24CB8
RGBrgb(194, 76, 184)
HSLhsl(305, 49%, 53%)
HSVhsv(305, 61%, 76%)
CMYKcmyk(0%, 60.8%, 5.2%, 23.9%)
CIE-LABlab(51.95, 60.24, -34.48)
CIE-LCHlch(51.95, 69.41, 330.21°)
OKLaboklab(61.11% 0.1715 -0.0945)
OKLCHoklch(61.11% 0.196 331.1)
XYZxyz(33.4842, 20.1013, 47.4544)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CB8 #4CC256
analogous
#914CC2 #C24CB8 #C24C7D
triadic
#C24CB8 #B8C24C #4CB8C2
tetradic
#C24CB8 #C2914C #4CC256 #4C7DC2
square
#C24CB8 #C2914C #4CC256 #4C7DC2
split-complementary
#C24CB8 #7DC24C #4CC291
monochromatic
#6E2668 #9C3593 #C24CB8 #D27ACA #E1A7DC

Accessibility & contrast

On white

4.18
#C24CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C24CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24CB8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24CB8#FFFFFF#000000##000000
##C24CB81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#6C82B5
Tritanopia (blue-blind)
#C9577B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24cb8;
/* rgb */ color: rgb(194, 76, 184);
/* oklch */ color: oklch(61.1% 0.196 331.1);
Tailwind
colors: {
  custom: {
    50: '#d785cd',
    500: '#c24cb8',
    950: '#000000',
  },
}
SCSS
$custom: #c24cb8;
$custom-light: #d785cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cb8",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 305.085,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.19584,
    "h": 331.1
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C24CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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