#CC52C7#CC52C7

#CC52C7 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 63.9% C 0.205 H 329.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CC52C7
RGBrgb(204, 82, 199)
HSLhsl(302, 54%, 56%)
HSVhsv(302, 60%, 80%)
CMYKcmyk(0%, 59.8%, 2.5%, 20%)
CIE-LABlab(55.07, 62.74, -38.13)
CIE-LCHlch(55.07, 73.42, 328.71°)
OKLaboklab(63.91% 0.1766 -0.1049)
OKLCHoklch(63.91% 0.205 329.3)
XYZxyz(38.2276, 22.9980, 56.4474)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52C7 #52CC57
analogous
#9452CC #CC52C7 #CC528A
triadic
#CC52C7 #C7CC52 #52C7CC
tetradic
#CC52C7 #CC9452 #52CC57 #528ACC
square
#CC52C7 #CC9452 #52CC57 #528ACC
split-complementary
#CC52C7 #8ACC52 #52CC94
monochromatic
#7E257B #AE33A9 #CC52C7 #DA81D6 #E8B1E6

Accessibility & contrast

On white

3.75
#CC52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CC52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52C7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52C7#FFFFFF#000000##000000
##CC52C71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#D35F85
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc52c7;
/* rgb */ color: rgb(204, 82, 199);
/* oklch */ color: oklch(63.9% 0.205 329.3);
Tailwind
colors: {
  custom: {
    50: '#df8ad8',
    500: '#cc52c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc52c7;
$custom-light: #df8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52c7",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 302.459,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63914,
    "c": 0.2054,
    "h": 329.3
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#CC52C7
secondary
#A4D6A6
accent
#DE504A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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