#CC2DC4#CC2DC4

#CC2DC4 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.5% C 0.245 H 330.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC2DC4
RGBrgb(204, 45, 196)
HSLhsl(303, 64%, 49%)
HSVhsv(303, 78%, 80%)
CMYKcmyk(0%, 77.9%, 3.9%, 20%)
CIE-LABlab(50.34, 75.17, -43.87)
CIE-LCHlch(50.34, 87.04, 329.73°)
OKLaboklab(60.45% 0.2134 -0.1212)
OKLCHoklch(60.45% 0.245 330.4)
XYZxyz(35.8039, 18.7026, 53.9381)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC4 #2DCC35
analogous
#852DCC #CC2DC4 #CC2D75
triadic
#CC2DC4 #C4CC2D #2DC4CC
tetradic
#CC2DC4 #CC852D #2DCC35 #2D75CC
square
#CC2DC4 #CC852D #2DCC35 #2D75CC
split-complementary
#CC2DC4 #75CC2D #2DCC85
monochromatic
#681764 #9A2294 #CC2DC4 #DB5BD4 #E68DE1

Accessibility & contrast

On white

4.43
#CC2DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC2DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC4#FFFFFF#000000##000000
##CC2DC41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#136AC8
Deuteranopia (green-blind)
#617FC0
Tritanopia (blue-blind)
#D44478
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc2dc4;
/* rgb */ color: rgb(204, 45, 196);
/* oklch */ color: oklch(60.5% 0.245 330.4);
Tailwind
colors: {
  custom: {
    50: '#e079d6',
    500: '#cc2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc4;
$custom-light: #e079d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc4",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 303.019,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.24546,
    "h": 330.4
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#CC2DC4
secondary
#85D088
accent
#E74941
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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