#CC4CCC#CC4CCC

#CC4CCC is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.218 H 327.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CC4CCC
RGBrgb(204, 76, 204)
HSLhsl(300, 56%, 55%)
HSVhsv(300, 63%, 80%)
CMYKcmyk(0%, 62.7%, 0%, 20%)
CIE-LABlab(54.42, 66.07, -42.02)
CIE-LCHlch(54.42, 78.30, 327.54°)
OKLaboklab(63.52% 0.1841 -0.1161)
OKLCHoklch(63.52% 0.218 327.8)
XYZxyz(38.3848, 22.3684, 59.4108)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CCC #4CCC4C
analogous
#8C4CCC #CC4CCC #CC4C8C
triadic
#CC4CCC #CCCC4C #4CCCCC
tetradic
#CC4CCC #CC8C4C #4CCC4C #4C8CCC
square
#CC4CCC #CC8C4C #4CCC4C #4C8CCC
split-complementary
#CC4CCC #8CCC4C #4CCC8C
monochromatic
#7B237B #AA31AA #CC4CCC #DA7CDA #E7ABE7

Accessibility & contrast

On white

3.84
#CC4CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CC4CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CCC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CCC#FFFFFF#000000##000000
##CC4CCC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77D0
Deuteranopia (green-blind)
#6B88C9
Tritanopia (blue-blind)
#D25D85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc4ccc;
/* rgb */ color: rgb(204, 76, 204);
/* oklch */ color: oklch(63.5% 0.218 327.8);
Tailwind
colors: {
  custom: {
    50: '#df87dc',
    500: '#cc4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ccc;
$custom-light: #df87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ccc",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.21761,
    "h": 327.8
  },
  "luminance": 0.22366
}

Semantic roles & 50–950 ramp

primary
#CC4CCC
secondary
#9FD59F
accent
#DF4949
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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