#CC2DC0#CC2DC0

#CC2DC0 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.243 H 331.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC2DC0
RGBrgb(204, 45, 192)
HSLhsl(305, 64%, 49%)
HSVhsv(305, 78%, 80%)
CMYKcmyk(0%, 77.9%, 5.9%, 20%)
CIE-LABlab(50.12, 74.57, -41.89)
CIE-LCHlch(50.12, 85.53, 330.67°)
OKLaboklab(60.23% 0.2134 -0.1155)
OKLCHoklch(60.23% 0.243 331.6)
XYZxyz(35.3547, 18.5229, 51.5722)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC0 #2DCC39
analogous
#892DCC #CC2DC0 #CC2D71
triadic
#CC2DC0 #C0CC2D #2DC0CC
tetradic
#CC2DC0 #CC892D #2DCC39 #2D71CC
square
#CC2DC0 #CC892D #2DCC39 #2D71CC
split-complementary
#CC2DC0 #71CC2D #2DCC89
monochromatic
#681762 #9A2291 #CC2DC0 #DB5BD1 #E68DDF

Accessibility & contrast

On white

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

On black

4.70
#CC2DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC0#FFFFFF#000000##000000
##CC2DC01.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#D44276
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2dc0;
/* rgb */ color: rgb(204, 45, 192);
/* oklch */ color: oklch(60.2% 0.243 331.6);
Tailwind
colors: {
  custom: {
    50: '#e079d3',
    500: '#cc2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc0;
$custom-light: #e079d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc0",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 304.528,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.24267,
    "h": 331.6
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#CC2DC0
secondary
#85D08A
accent
#E74D41
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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