#CC47C6#CC47C6

#CC47C6 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.219 H 329.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC47C6
RGBrgb(204, 71, 198)
HSLhsl(303, 57%, 54%)
HSVhsv(303, 65%, 80%)
CMYKcmyk(0%, 65.2%, 2.9%, 20%)
CIE-LABlab(53.41, 67.04, -40.17)
CIE-LCHlch(53.41, 78.15, 329.07°)
OKLaboklab(62.69% 0.1893 -0.1107)
OKLCHoklch(62.69% 0.219 329.7)
XYZxyz(37.3478, 21.4238, 55.5832)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47C6 #47CC4D
analogous
#9047CC #CC47C6 #CC4784
triadic
#CC47C6 #C6CC47 #47C6CC
tetradic
#CC47C6 #CC9047 #47CC4D #4784CC
square
#CC47C6 #CC9047 #47CC4D #4784CC
split-complementary
#CC47C6 #84CC47 #47CC90
monochromatic
#772174 #A72EA2 #CC47C6 #D977D5 #E7A7E4

Accessibility & contrast

On white

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

On black

5.28
#CC47C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47C6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47C6#FFFFFF#000000##000000
##CC47C61.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#6B86C3
Tritanopia (blue-blind)
#D35781
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc47c6;
/* rgb */ color: rgb(204, 71, 198);
/* oklch */ color: oklch(62.7% 0.219 329.7);
Tailwind
colors: {
  custom: {
    50: '#df84d8',
    500: '#cc47c6',
    950: '#000000',
  },
}
SCSS
$custom: #cc47c6;
$custom-light: #df84d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47c6",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 302.707,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62693,
    "c": 0.21926,
    "h": 329.7
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#CC47C6
secondary
#9BD49E
accent
#E04F48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC47C6

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

Preview Lab → · Contrast checker → · Palette generator →

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