#CC47BC#CC47BC

#CC47BC is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.2% C 0.212 H 332.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC47BC
RGBrgb(204, 71, 188)
HSLhsl(307, 57%, 54%)
HSVhsv(307, 65%, 80%)
CMYKcmyk(0%, 65.2%, 7.8%, 20%)
CIE-LABlab(52.92, 65.45, -35.16)
CIE-LCHlch(52.92, 74.30, 331.75°)
OKLaboklab(62.18% 0.1885 -0.0963)
OKLCHoklch(62.18% 0.212 332.9)
XYZxyz(36.2323, 20.9775, 49.7080)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47BC #47CC57
analogous
#9A47CC #CC47BC #CC477A
triadic
#CC47BC #BCCC47 #47BCCC
tetradic
#CC47BC #CC9A47 #47CC57 #477ACC
square
#CC47BC #CC9A47 #47CC57 #477ACC
split-complementary
#CC47BC #7ACC47 #47CC9A
monochromatic
#77216D #A72E99 #CC47BC #D977CD #E7A7DF

Accessibility & contrast

On white

4.04
#CC47BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC47BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47BC#FFFFFF#000000##000000
##CC47BC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#7085B9
Tritanopia (blue-blind)
#D5537B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc47bc;
/* rgb */ color: rgb(204, 71, 188);
/* oklch */ color: oklch(62.2% 0.212 332.9);
Tailwind
colors: {
  custom: {
    50: '#df84d0',
    500: '#cc47bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc47bc;
$custom-light: #df84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47bc",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 307.218,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.21161,
    "h": 332.9
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#CC47BC
secondary
#9BD4A2
accent
#E05A48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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