#CC52D2#CC52D2

#CC52D2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.215 H 325.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CC52D2
RGBrgb(204, 82, 210)
HSLhsl(297, 59%, 57%)
HSVhsv(297, 61%, 82%)
CMYKcmyk(2.9%, 61%, 0%, 17.6%)
CIE-LABlab(55.61, 64.62, -43.56)
CIE-LCHlch(55.61, 77.93, 326.02°)
OKLaboklab(64.48% 0.1775 -0.1206)
OKLCHoklch(64.48% 0.215 325.8)
XYZxyz(39.5512, 23.5275, 63.4183)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52D2 #58D252
analogous
#8C52D2 #CC52D2 #D25298
triadic
#CC52D2 #D2CC52 #52D2CC
tetradic
#CC52D2 #D28C52 #58D252 #5298D2
square
#CC52D2 #D28C52 #58D252 #5298D2
split-complementary
#CC52D2 #98D252 #52D28C
monochromatic
#822387 #B130B7 #CC52D2 #DA83DF #E9B3EB

Accessibility & contrast

On white

3.68
#CC52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CC52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52D2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52D2#FFFFFF#000000##000000
##CC52D21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#6B8BCF
Tritanopia (blue-blind)
#D1648B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc52d2;
/* rgb */ color: rgb(204, 82, 210);
/* oklch */ color: oklch(64.5% 0.215 325.8);
Tailwind
colors: {
  custom: {
    50: '#df8ae0',
    500: '#cc52d2',
    950: '#000000',
  },
}
SCSS
$custom: #cc52d2;
$custom-light: #df8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52d2",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 297.188,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64484,
    "c": 0.21456,
    "h": 325.8
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

primary
#CC52D2
secondary
#A8DAA6
accent
#E2464D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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