#CC47B8#CC47B8

#CC47B8 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.209 H 334.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC47B8
RGBrgb(204, 71, 184)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65.2%, 9.8%, 20%)
CIE-LABlab(52.74, 64.83, -33.14)
CIE-LCHlch(52.74, 72.81, 332.93°)
OKLaboklab(61.99% 0.188 -0.0904)
OKLCHoklch(61.99% 0.209 334.3)
XYZxyz(35.8071, 20.8074, 47.4685)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B8 #47CC5B
analogous
#9E47CC #CC47B8 #CC4776
triadic
#CC47B8 #B8CC47 #47B8CC
tetradic
#CC47B8 #CC9E47 #47CC5B #4776CC
square
#CC47B8 #CC9E47 #47CC5B #4776CC
split-complementary
#CC47B8 #76CC47 #47CC9E
monochromatic
#77216A #A72E95 #CC47B8 #D977CA #E7A7DD

Accessibility & contrast

On white

4.07
#CC47B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC47B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B8#FFFFFF#000000##000000
##CC47B81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#7285B5
Tritanopia (blue-blind)
#D55179
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc47b8;
/* rgb */ color: rgb(204, 71, 184);
/* oklch */ color: oklch(62.0% 0.209 334.3);
Tailwind
colors: {
  custom: {
    50: '#df84cd',
    500: '#cc47b8',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b8;
$custom-light: #df84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b8",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 309.023,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.20864,
    "h": 334.3
  },
  "luminance": 0.20805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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