#CC2AC2#CC2AC2

#CC2AC2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.2% C 0.247 H 331.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CC2AC2
RGBrgb(204, 42, 194)
HSLhsl(304, 66%, 48%)
HSVhsv(304, 79%, 80%)
CMYKcmyk(0%, 79.4%, 4.9%, 20%)
CIE-LABlab(49.97, 75.63, -43.30)
CIE-LCHlch(49.97, 87.15, 330.21°)
OKLaboklab(60.15% 0.2156 -0.1195)
OKLCHoklch(60.15% 0.247 331)
XYZxyz(35.4674, 18.3913, 52.7104)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2AC2 #2ACC34
analogous
#852ACC #CC2AC2 #CC2A71
triadic
#CC2AC2 #C2CC2A #2AC2CC
tetradic
#CC2AC2 #CC852A #2ACC34 #2A71CC
square
#CC2AC2 #CC852A #2ACC34 #2A71CC
split-complementary
#CC2AC2 #71CC2A #2ACC85
monochromatic
#661561 #992092 #CC2AC2 #DC57D4 #E78AE1

Accessibility & contrast

On white

4.49
#CC2AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CC2AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2AC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2AC2#FFFFFF#000000##000000
##CC2AC21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#D44276
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc2ac2;
/* rgb */ color: rgb(204, 42, 194);
/* oklch */ color: oklch(60.2% 0.247 331.0);
Tailwind
colors: {
  custom: {
    50: '#e078d5',
    500: '#cc2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cc2ac2;
$custom-light: #e078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2ac2",
  "rgb": {
    "r": 204,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 303.704,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.24656,
    "h": 331
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#CC2AC2
secondary
#81D186
accent
#E9493F
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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