#CC2DC1#CC2DC1

#CC2DC1 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.243 H 331.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC2DC1
RGBrgb(204, 45, 193)
HSLhsl(304, 64%, 49%)
HSVhsv(304, 78%, 80%)
CMYKcmyk(0%, 77.9%, 5.4%, 20%)
CIE-LABlab(50.18, 74.72, -42.39)
CIE-LCHlch(50.18, 85.91, 330.43°)
OKLaboklab(60.29% 0.2134 -0.1169)
OKLCHoklch(60.29% 0.243 331.3)
XYZxyz(35.4659, 18.5673, 52.1577)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC1 #2DCC38
analogous
#882DCC #CC2DC1 #CC2D72
triadic
#CC2DC1 #C1CC2D #2DC1CC
tetradic
#CC2DC1 #CC882D #2DCC38 #2D72CC
square
#CC2DC1 #CC882D #2DCC38 #2D72CC
split-complementary
#CC2DC1 #72CC2D #2DCC88
monochromatic
#681762 #9A2292 #CC2DC1 #DB5BD2 #E68DE0

Accessibility & contrast

On white

4.46
#CC2DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC2DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC1#FFFFFF#000000##000000
##CC2DC11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A69C5
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#D44377
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2dc1;
/* rgb */ color: rgb(204, 45, 193);
/* oklch */ color: oklch(60.3% 0.243 331.3);
Tailwind
colors: {
  custom: {
    50: '#e079d4',
    500: '#cc2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc1;
$custom-light: #e079d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc1",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 304.151,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.24336,
    "h": 331.3
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#CC2DC1
secondary
#85D08A
accent
#E74C41
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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