#CC4FCC#CC4FCC

#CC4FCC is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.214 H 327.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CC4FCC
RGBrgb(204, 79, 204)
HSLhsl(300, 55%, 55%)
HSVhsv(300, 61%, 80%)
CMYKcmyk(0%, 61.3%, 0%, 20%)
CIE-LABlab(54.86, 64.84, -41.33)
CIE-LCHlch(54.86, 76.89, 327.49°)
OKLaboklab(63.84% 0.1806 -0.1141)
OKLCHoklch(63.84% 0.214 327.7)
XYZxyz(38.5963, 22.7915, 59.4813)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FCC #4FCC4F
analogous
#8D4FCC #CC4FCC #CC4F8D
triadic
#CC4FCC #CCCC4F #4FCCCC
tetradic
#CC4FCC #CC8D4F #4FCC4F #4F8DCC
square
#CC4FCC #CC8D4F #4FCC4F #4F8DCC
split-complementary
#CC4FCC #8DCC4F #4FCC8D
monochromatic
#7D247D #AC32AC #CC4FCC #DA7EDA #E7AEE7

Accessibility & contrast

On white

3.78
#CC4FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CC4FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FCC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FCC#FFFFFF#000000##000000
##CC4FCC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#D25F87
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4fcc;
/* rgb */ color: rgb(204, 79, 204);
/* oklch */ color: oklch(63.8% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#df88dc',
    500: '#cc4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fcc;
$custom-light: #df88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fcc",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63838,
    "c": 0.21362,
    "h": 327.7
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#CC4FCC
secondary
#A1D5A1
accent
#DE4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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