#CC47C7#CC47C7

#CC47C7 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.220 H 329.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CC47C7
RGBrgb(204, 71, 199)
HSLhsl(302, 57%, 54%)
HSVhsv(302, 65%, 80%)
CMYKcmyk(0%, 65.2%, 2.5%, 20%)
CIE-LABlab(53.46, 67.20, -40.67)
CIE-LCHlch(53.46, 78.55, 328.82°)
OKLaboklab(62.75% 0.1894 -0.1121)
OKLCHoklch(62.75% 0.22 329.4)
XYZxyz(37.4636, 21.4700, 56.1927)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47C7 #47CC4C
analogous
#8F47CC #CC47C7 #CC4785
triadic
#CC47C7 #C7CC47 #47C7CC
tetradic
#CC47C7 #CC8F47 #47CC4C #4785CC
square
#CC47C7 #CC8F47 #47CC4C #4785CC
split-complementary
#CC47C7 #85CC47 #47CC8F
monochromatic
#772174 #A72EA3 #CC47C7 #D977D6 #E7A7E4

Accessibility & contrast

On white

3.97
#CC47C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CC47C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47C7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47C7#FFFFFF#000000##000000
##CC47C71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#6B86C4
Tritanopia (blue-blind)
#D35781
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc47c7;
/* rgb */ color: rgb(204, 71, 199);
/* oklch */ color: oklch(62.7% 0.220 329.4);
Tailwind
colors: {
  custom: {
    50: '#df84d8',
    500: '#cc47c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc47c7;
$custom-light: #df84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47c7",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 302.256,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62745,
    "c": 0.22005,
    "h": 329.4
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#CC47C7
secondary
#9BD49D
accent
#E04E48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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