#CC2CC1#CC2CC1

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

Color values

HEX#CC2CC1
RGBrgb(204, 44, 193)
HSLhsl(304, 65%, 49%)
HSVhsv(304, 78%, 80%)
CMYKcmyk(0%, 78.4%, 5.4%, 20%)
CIE-LABlab(50.09, 74.98, -42.53)
CIE-LCHlch(50.09, 86.20, 330.44°)
OKLaboklab(60.22% 0.2142 -0.1173)
OKLCHoklch(60.22% 0.244 331.3)
XYZxyz(35.4282, 18.4919, 52.1451)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CC1 #2CCC37
analogous
#872CCC #CC2CC1 #CC2C71
triadic
#CC2CC1 #C1CC2C #2CC1CC
tetradic
#CC2CC1 #CC872C #2CCC37 #2C71CC
square
#CC2CC1 #CC872C #2CCC37 #2C71CC
split-complementary
#CC2CC1 #71CC2C #2CCC87
monochromatic
#671662 #9A2191 #CC2CC1 #DB5AD2 #E68CE0

Accessibility & contrast

On white

4.47
#CC2CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2CC1#FFFFFF#000000##000000
##CC2CC11.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1869C5
Deuteranopia (green-blind)
#627FBD
Tritanopia (blue-blind)
#D44276
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2cc1;
/* rgb */ color: rgb(204, 44, 193);
/* oklch */ color: oklch(60.2% 0.244 331.3);
Tailwind
colors: {
  custom: {
    50: '#e078d4',
    500: '#cc2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #cc2cc1;
$custom-light: #e078d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2cc1",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 304.125,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60222,
    "c": 0.24422,
    "h": 331.3
  },
  "luminance": 0.18489
}

Semantic roles & 50–950 ramp

primary
#CC2CC1
secondary
#83D089
accent
#E84C40
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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