#CC47DC#CC47DC

#CC47DC is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.9% C 0.237 H 323.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CC47DC
RGBrgb(204, 71, 220)
HSLhsl(294, 68%, 57%)
HSVhsv(294, 68%, 86%)
CMYKcmyk(7.3%, 67.7%, 0%, 13.7%)
CIE-LABlab(54.57, 70.75, -50.89)
CIE-LCHlch(54.57, 87.15, 324.27°)
OKLaboklab(63.9% 0.1898 -0.1418)
OKLCHoklch(63.9% 0.237 323.2)
XYZxyz(40.0721, 22.5135, 69.9311)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47DC #57DC47
analogous
#8247DC #CC47DC #DC47A2
triadic
#CC47DC #DCCC47 #47DCCC
tetradic
#CC47DC #DC8247 #57DC47 #47A2DC
square
#CC47DC #DC8247 #57DC47 #47A2DC
split-complementary
#CC47DC #A2DC47 #47DC82
monochromatic
#811B8E #B025C1 #CC47DC #DA7AE6 #E9AEF0

Accessibility & contrast

On white

3.82
#CC47DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CC47DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47DC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47DC#FFFFFF#000000##000000
##CC47DC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C79E0
Deuteranopia (green-blind)
#5E88D8
Tritanopia (blue-blind)
#CF608C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc47dc;
/* rgb */ color: rgb(204, 71, 220);
/* oklch */ color: oklch(63.9% 0.237 323.2);
Tailwind
colors: {
  custom: {
    50: '#df85e7',
    500: '#cc47dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc47dc;
$custom-light: #df85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47dc",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 293.557,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.23694,
    "h": 323.2
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#CC47DC
secondary
#A8DEA1
accent
#EB3D50
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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