#CC2DC3#CC2DC3

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

Color values

HEX#CC2DC3
RGBrgb(204, 45, 195)
HSLhsl(303, 64%, 49%)
HSVhsv(303, 78%, 80%)
CMYKcmyk(0%, 77.9%, 4.4%, 20%)
CIE-LABlab(50.28, 75.02, -43.38)
CIE-LCHlch(50.28, 86.66, 329.96°)
OKLaboklab(60.4% 0.2135 -0.1198)
OKLCHoklch(60.4% 0.245 330.7)
XYZxyz(35.6905, 18.6572, 53.3406)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC3 #2DCC36
analogous
#862DCC #CC2DC3 #CC2D74
triadic
#CC2DC3 #C3CC2D #2DC3CC
tetradic
#CC2DC3 #CC862D #2DCC36 #2D74CC
square
#CC2DC3 #CC862D #2DCC36 #2D74CC
split-complementary
#CC2DC3 #74CC2D #2DCC86
monochromatic
#681763 #9A2293 #CC2DC3 #DB5BD4 #E68DE1

Accessibility & contrast

On white

4.44
#CC2DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC2DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC3#FFFFFF#000000##000000
##CC2DC31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#D44478
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc2dc3;
/* rgb */ color: rgb(204, 45, 195);
/* oklch */ color: oklch(60.4% 0.245 330.7);
Tailwind
colors: {
  custom: {
    50: '#e079d6',
    500: '#cc2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc3;
$custom-light: #e079d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc3",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 303.396,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60397,
    "c": 0.24476,
    "h": 330.7
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#CC2DC3
secondary
#85D089
accent
#E74A41
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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