#CC2DC5#CC2DC5

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

Color values

HEX#CC2DC5
RGBrgb(204, 45, 197)
HSLhsl(303, 64%, 49%)
HSVhsv(303, 78%, 80%)
CMYKcmyk(0%, 77.9%, 3.4%, 20%)
CIE-LABlab(50.39, 75.32, -44.37)
CIE-LCHlch(50.39, 87.42, 329.50°)
OKLaboklab(60.51% 0.2134 -0.1226)
OKLCHoklch(60.51% 0.246 330.1)
XYZxyz(35.9181, 18.7482, 54.5395)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC5 #2DCC34
analogous
#842DCC #CC2DC5 #CC2D75
triadic
#CC2DC5 #C5CC2D #2DC5CC
tetradic
#CC2DC5 #CC842D #2DCC34 #2D75CC
square
#CC2DC5 #CC842D #2DCC34 #2D75CC
split-complementary
#CC2DC5 #75CC2D #2DCC84
monochromatic
#681764 #9A2295 #CC2DC5 #DB5BD5 #E68DE2

Accessibility & contrast

On white

4.42
#CC2DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC2DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC5#FFFFFF#000000##000000
##CC2DC51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#106AC9
Deuteranopia (green-blind)
#607FC1
Tritanopia (blue-blind)
#D44579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc2dc5;
/* rgb */ color: rgb(204, 45, 197);
/* oklch */ color: oklch(60.5% 0.246 330.1);
Tailwind
colors: {
  custom: {
    50: '#e079d7',
    500: '#cc2dc5',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc5;
$custom-light: #e079d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc5",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 197
  },
  "hsl": {
    "h": 302.642,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.24616,
    "h": 330.1
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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