#CC47B6#CC47B6

#CC47B6 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.207 H 335.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC47B6
RGBrgb(204, 71, 182)
HSLhsl(310, 57%, 54%)
HSVhsv(310, 65%, 80%)
CMYKcmyk(0%, 65.2%, 10.8%, 20%)
CIE-LABlab(52.65, 64.53, -32.12)
CIE-LCHlch(52.65, 72.08, 333.54°)
OKLaboklab(61.89% 0.1878 -0.0875)
OKLCHoklch(61.89% 0.207 335)
XYZxyz(35.5989, 20.7242, 46.3721)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B6 #47CC5D
analogous
#A047CC #CC47B6 #CC4774
triadic
#CC47B6 #B6CC47 #47B6CC
tetradic
#CC47B6 #CCA047 #47CC5D #4774CC
square
#CC47B6 #CCA047 #47CC5D #4774CC
split-complementary
#CC47B6 #74CC47 #47CCA0
monochromatic
#772169 #A72E93 #CC47B6 #D977C9 #E7A7DC

Accessibility & contrast

On white

4.08
#CC47B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC47B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B6#FFFFFF#000000##000000
##CC47B61.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#7285B3
Tritanopia (blue-blind)
#D65078
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc47b6;
/* rgb */ color: rgb(204, 71, 182);
/* oklch */ color: oklch(61.9% 0.207 335.0);
Tailwind
colors: {
  custom: {
    50: '#df84cc',
    500: '#cc47b6',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b6;
$custom-light: #df84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b6",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 309.925,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6189,
    "c": 0.20717,
    "h": 335
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#CC47B6
secondary
#9BD4A4
accent
#E06148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC47B6

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

Preview Lab → · Contrast checker → · Palette generator →

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