#CC47B9#CC47B9

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

Color values

HEX#CC47B9
RGBrgb(204, 71, 185)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 65.2%, 9.3%, 20%)
CIE-LABlab(52.78, 64.98, -33.64)
CIE-LCHlch(52.78, 73.18, 332.63°)
OKLaboklab(62.04% 0.1881 -0.0919)
OKLCHoklch(62.04% 0.209 334)
XYZxyz(35.9123, 20.8495, 48.0225)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B9 #47CC5A
analogous
#9D47CC #CC47B9 #CC4777
triadic
#CC47B9 #B9CC47 #47B9CC
tetradic
#CC47B9 #CC9D47 #47CC5A #4777CC
square
#CC47B9 #CC9D47 #47CC5A #4777CC
split-complementary
#CC47B9 #77CC47 #47CC9D
monochromatic
#77216B #A72E96 #CC47B9 #D977CB #E7A7DD

Accessibility & contrast

On white

4.06
#CC47B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC47B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B9#FFFFFF#000000##000000
##CC47B91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7185B6
Tritanopia (blue-blind)
#D5517A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc47b9;
/* rgb */ color: rgb(204, 71, 185);
/* oklch */ color: oklch(62.0% 0.209 334.0);
Tailwind
colors: {
  custom: {
    50: '#df84ce',
    500: '#cc47b9',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b9;
$custom-light: #df84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b9",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 308.571,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.20938,
    "h": 334
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#CC47B9
secondary
#9BD4A3
accent
#E05E48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC47B9

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

Preview Lab → · Contrast checker → · Palette generator →

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