#CC47D2#CC47D2

#CC47D2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.3% C 0.229 H 326.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CC47D2
RGBrgb(204, 71, 210)
HSLhsl(297, 61%, 55%)
HSVhsv(297, 66%, 82%)
CMYKcmyk(2.9%, 66.2%, 0%, 17.6%)
CIE-LABlab(54.03, 69.03, -46.07)
CIE-LCHlch(54.03, 82.99, 326.28°)
OKLaboklab(63.34% 0.1898 -0.1277)
OKLCHoklch(63.34% 0.229 326.1)
XYZxyz(38.7872, 21.9995, 63.1636)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47D2 #4DD247
analogous
#8647D2 #CC47D2 #D24793
triadic
#CC47D2 #D2CC47 #47D2CC
tetradic
#CC47D2 #D28647 #4DD247 #4793D2
square
#CC47D2 #D28647 #4DD247 #4793D2
split-complementary
#CC47D2 #93D247 #47D286
monochromatic
#7B1F7F #AB2BB1 #CC47D2 #DA78DE #E7A9EA

Accessibility & contrast

On white

3.89
#CC47D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CC47D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47D2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47D2#FFFFFF#000000##000000
##CC47D21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#D15C87
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc47d2;
/* rgb */ color: rgb(204, 71, 210);
/* oklch */ color: oklch(63.3% 0.229 326.1);
Tailwind
colors: {
  custom: {
    50: '#df84e0',
    500: '#cc47d2',
    950: '#000000',
  },
}
SCSS
$custom: #cc47d2;
$custom-light: #df84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47d2",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 297.41,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63338,
    "c": 0.22878,
    "h": 326.1
  },
  "luminance": 0.21997
}

Semantic roles & 50–950 ramp

primary
#CC47D2
secondary
#A0D89D
accent
#E4444B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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