#CC47CB#CC47CB

#CC47CB is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.223 H 328.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC47CB
RGBrgb(204, 71, 203)
HSLhsl(300, 57%, 54%)
HSVhsv(300, 65%, 80%)
CMYKcmyk(0%, 65.2%, 0.5%, 20%)
CIE-LABlab(53.66, 67.86, -42.64)
CIE-LCHlch(53.66, 80.14, 327.86°)
OKLaboklab(62.96% 0.1896 -0.1178)
OKLCHoklch(62.96% 0.223 328.1)
XYZxyz(37.9341, 21.6583, 58.6708)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47CB #47CC48
analogous
#8B47CC #CC47CB #CC4789
triadic
#CC47CB #CBCC47 #47CBCC
tetradic
#CC47CB #CC8B47 #47CC48 #4789CC
square
#CC47CB #CC8B47 #47CC48 #4789CC
split-complementary
#CC47CB #89CC47 #47CC8B
monochromatic
#772177 #A72EA6 #CC47CB #D977D9 #E7A7E6

Accessibility & contrast

On white

3.94
#CC47CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CC47CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47CB#FFFFFF#000000##000000
##CC47CB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#6986C7
Tritanopia (blue-blind)
#D25983
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc47cb;
/* rgb */ color: rgb(204, 71, 203);
/* oklch */ color: oklch(63.0% 0.223 328.1);
Tailwind
colors: {
  custom: {
    50: '#df84db',
    500: '#cc47cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc47cb;
$custom-light: #df84db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47cb",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 300.451,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62957,
    "c": 0.22319,
    "h": 328.1
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#CC47CB
secondary
#9BD49B
accent
#E04948
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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