#CC47C1#CC47C1

#CC47C1 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.215 H 331.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CC47C1
RGBrgb(204, 71, 193)
HSLhsl(305, 57%, 54%)
HSVhsv(305, 65%, 80%)
CMYKcmyk(0%, 65.2%, 5.4%, 20%)
CIE-LABlab(53.16, 66.24, -37.68)
CIE-LCHlch(53.16, 76.20, 330.37°)
OKLaboklab(62.43% 0.1889 -0.1035)
OKLCHoklch(62.43% 0.215 331.3)
XYZxyz(36.7806, 21.1969, 52.5959)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47C1 #47CC52
analogous
#9547CC #CC47C1 #CC477F
triadic
#CC47C1 #C1CC47 #47C1CC
tetradic
#CC47C1 #CC9547 #47CC52 #477FCC
square
#CC47C1 #CC9547 #47CC52 #477FCC
split-complementary
#CC47C1 #7FCC47 #47CC95
monochromatic
#772170 #A72E9D #CC47C1 #D977D1 #E7A7E1

Accessibility & contrast

On white

4.01
#CC47C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CC47C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47C1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47C1#FFFFFF#000000##000000
##CC47C11.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc47c1;
/* rgb */ color: rgb(204, 71, 193);
/* oklch */ color: oklch(62.4% 0.215 331.3);
Tailwind
colors: {
  custom: {
    50: '#df84d4',
    500: '#cc47c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc47c1;
$custom-light: #df84d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47c1",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 304.962,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.2154,
    "h": 331.3
  },
  "luminance": 0.21194
}

Semantic roles & 50–950 ramp

primary
#CC47C1
secondary
#9BD4A0
accent
#E05448
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC47C1

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

Preview Lab → · Contrast checker → · Palette generator →

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