#C24CBB#C24CBB

#C24CBB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.3% C 0.198 H 330.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C24CBB
RGBrgb(194, 76, 187)
HSLhsl(304, 49%, 53%)
HSVhsv(304, 61%, 76%)
CMYKcmyk(0%, 60.8%, 3.6%, 23.9%)
CIE-LABlab(52.09, 60.74, -35.99)
CIE-LCHlch(52.09, 70.60, 329.35°)
OKLaboklab(61.26% 0.1718 -0.0989)
OKLCHoklch(61.26% 0.198 330.1)
XYZxyz(33.8020, 20.2284, 49.1282)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24CBB #4CC253
analogous
#8E4CC2 #C24CBB #C24C80
triadic
#C24CBB #BBC24C #4CBBC2
tetradic
#C24CBB #C28E4C #4CC253 #4C80C2
square
#C24CBB #C28E4C #4CC253 #4C80C2
split-complementary
#C24CBB #80C24C #4CC28E
monochromatic
#6E266A #9C3596 #C24CBB #D27ACC #E1A7DE

Accessibility & contrast

On white

4.16
#C24CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C24CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24CBB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24CBB#FFFFFF#000000##000000
##C24CBB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#C9587D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c24cbb;
/* rgb */ color: rgb(194, 76, 187);
/* oklch */ color: oklch(61.3% 0.198 330.1);
Tailwind
colors: {
  custom: {
    50: '#d785d0',
    500: '#c24cbb',
    950: '#000000',
  },
}
SCSS
$custom: #c24cbb;
$custom-light: #d785d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c24cbb",
  "rgb": {
    "r": 194,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 303.559,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.19826,
    "h": 330.1
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#C24CBB
secondary
#9BCE9E
accent
#D9574F
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C24CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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