#CC47B7#CC47B7

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

Color values

HEX#CC47B7
RGBrgb(204, 71, 183)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65.2%, 10.3%, 20%)
CIE-LABlab(52.69, 64.68, -32.63)
CIE-LCHlch(52.69, 72.44, 333.23°)
OKLaboklab(61.94% 0.1879 -0.089)
OKLCHoklch(61.94% 0.208 334.7)
XYZxyz(35.7026, 20.7657, 46.9184)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B7 #47CC5C
analogous
#9F47CC #CC47B7 #CC4775
triadic
#CC47B7 #B7CC47 #47B7CC
tetradic
#CC47B7 #CC9F47 #47CC5C #4775CC
square
#CC47B7 #CC9F47 #47CC5C #4775CC
split-complementary
#CC47B7 #75CC47 #47CC9F
monochromatic
#77216A #A72E94 #CC47B7 #D977CA #E7A7DD

Accessibility & contrast

On white

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

On black

5.15
#CC47B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B7#FFFFFF#000000##000000
##CC47B71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D55079
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc47b7;
/* rgb */ color: rgb(204, 71, 183);
/* oklch */ color: oklch(61.9% 0.208 334.7);
Tailwind
colors: {
  custom: {
    50: '#df84cd',
    500: '#cc47b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b7;
$custom-light: #df84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b7",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 309.474,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.20791,
    "h": 334.7
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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