#CC52C5#CC52C5

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

Color values

HEX#CC52C5
RGBrgb(204, 82, 197)
HSLhsl(303, 54%, 56%)
HSVhsv(303, 60%, 80%)
CMYKcmyk(0%, 59.8%, 3.4%, 20%)
CIE-LABlab(54.98, 62.40, -37.13)
CIE-LCHlch(54.98, 72.62, 329.25°)
OKLaboklab(63.81% 0.1764 -0.102)
OKLCHoklch(63.81% 0.204 330)
XYZxyz(37.9969, 22.9058, 55.2324)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52C5 #52CC59
analogous
#9652CC #CC52C5 #CC5288
triadic
#CC52C5 #C5CC52 #52C5CC
tetradic
#CC52C5 #CC9652 #52CC59 #5288CC
square
#CC52C5 #CC9652 #52CC59 #5288CC
split-complementary
#CC52C5 #88CC52 #52CC96
monochromatic
#7E2579 #AE33A7 #CC52C5 #DA81D5 #E8B1E5

Accessibility & contrast

On white

3.76
#CC52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CC52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52C5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52C5#FFFFFF#000000##000000
##CC52C51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979C9
Deuteranopia (green-blind)
#728AC2
Tritanopia (blue-blind)
#D35F84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc52c5;
/* rgb */ color: rgb(204, 82, 197);
/* oklch */ color: oklch(63.8% 0.204 330.0);
Tailwind
colors: {
  custom: {
    50: '#df8ad7',
    500: '#cc52c5',
    950: '#000000',
  },
}
SCSS
$custom: #cc52c5;
$custom-light: #df8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52c5",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 303.443,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.20378,
    "h": 330
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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