#CC52C4#CC52C4

#CC52C4 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.8% C 0.203 H 330.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CC52C4
RGBrgb(204, 82, 196)
HSLhsl(304, 54%, 56%)
HSVhsv(304, 60%, 80%)
CMYKcmyk(0%, 59.8%, 3.9%, 20%)
CIE-LABlab(54.93, 62.24, -36.63)
CIE-LCHlch(54.93, 72.22, 329.52°)
OKLaboklab(63.76% 0.1763 -0.1006)
OKLCHoklch(63.76% 0.203 330.3)
XYZxyz(37.8827, 22.8601, 54.6310)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52C4 #52CC5A
analogous
#9752CC #CC52C4 #CC5287
triadic
#CC52C4 #C4CC52 #52C4CC
tetradic
#CC52C4 #CC9752 #52CC5A #5287CC
square
#CC52C4 #CC9752 #52CC5A #5287CC
split-complementary
#CC52C4 #87CC52 #52CC97
monochromatic
#7E2579 #AE33A6 #CC52C4 #DA81D4 #E8B1E4

Accessibility & contrast

On white

3.77
#CC52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CC52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52C4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52C4#FFFFFF#000000##000000
##CC52C41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#7289C1
Tritanopia (blue-blind)
#D35E84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc52c4;
/* rgb */ color: rgb(204, 82, 196);
/* oklch */ color: oklch(63.8% 0.203 330.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad6',
    500: '#cc52c4',
    950: '#000000',
  },
}
SCSS
$custom: #cc52c4;
$custom-light: #df8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52c4",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 303.934,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.20297,
    "h": 330.3
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#CC52C4
secondary
#A4D6A7
accent
#DE544A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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