#CC47C2#CC47C2

#CC47C2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.216 H 331.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CC47C2
RGBrgb(204, 71, 194)
HSLhsl(305, 57%, 54%)
HSVhsv(305, 65%, 80%)
CMYKcmyk(0%, 65.2%, 4.9%, 20%)
CIE-LABlab(53.21, 66.40, -38.18)
CIE-LCHlch(53.21, 76.59, 330.10°)
OKLaboklab(62.49% 0.189 -0.1049)
OKLCHoklch(62.49% 0.216 331)
XYZxyz(36.8926, 21.2416, 53.1854)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47C2 #47CC51
analogous
#9447CC #CC47C2 #CC4780
triadic
#CC47C2 #C2CC47 #47C2CC
tetradic
#CC47C2 #CC9447 #47CC51 #4780CC
square
#CC47C2 #CC9447 #47CC51 #4780CC
split-complementary
#CC47C2 #80CC47 #47CC94
monochromatic
#772171 #A72E9E #CC47C2 #D977D2 #E7A7E2

Accessibility & contrast

On white

4.00
#CC47C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC47C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47C2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47C2#FFFFFF#000000##000000
##CC47C21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#6D86BF
Tritanopia (blue-blind)
#D4557E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc47c2;
/* rgb */ color: rgb(204, 71, 194);
/* oklch */ color: oklch(62.5% 0.216 331.0);
Tailwind
colors: {
  custom: {
    50: '#df84d5',
    500: '#cc47c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc47c2;
$custom-light: #df84d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47c2",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 304.511,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62486,
    "c": 0.21617,
    "h": 331
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#CC47C2
secondary
#9BD49F
accent
#E05348
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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