#CC2CC6#CC2CC6

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

Color values

HEX#CC2CC6
RGBrgb(204, 44, 198)
HSLhsl(302, 65%, 49%)
HSVhsv(302, 78%, 80%)
CMYKcmyk(0%, 78.4%, 2.9%, 20%)
CIE-LABlab(50.36, 75.73, -45.00)
CIE-LCHlch(50.36, 88.09, 329.28°)
OKLaboklab(60.5% 0.2142 -0.1245)
OKLCHoklch(60.5% 0.248 329.8)
XYZxyz(35.9954, 18.7188, 55.1324)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CC6 #2CCC32
analogous
#822CCC #CC2CC6 #CC2C76
triadic
#CC2CC6 #C6CC2C #2CC6CC
tetradic
#CC2CC6 #CC822C #2CCC32 #2C76CC
square
#CC2CC6 #CC822C #2CCC32 #2C76CC
split-complementary
#CC2CC6 #76CC2C #2CCC82
monochromatic
#671664 #9A2195 #CC2CC6 #DB5AD7 #E68CE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2CC6#FFFFFF#000000##000000
##CC2CC61.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)
#096ACA
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#D44579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc2cc6;
/* rgb */ color: rgb(204, 44, 198);
/* oklch */ color: oklch(60.5% 0.248 329.8);
Tailwind
colors: {
  custom: {
    50: '#e079d8',
    500: '#cc2cc6',
    950: '#000000',
  },
}
SCSS
$custom: #cc2cc6;
$custom-light: #e079d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2cc6",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 302.25,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.24771,
    "h": 329.8
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#CC2CC6
secondary
#83D086
accent
#E84740
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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