#CC4CC7#CC4CC7

#CC4CC7 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.214 H 329.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CC4CC7
RGBrgb(204, 76, 199)
HSLhsl(302, 56%, 55%)
HSVhsv(302, 63%, 80%)
CMYKcmyk(0%, 62.7%, 2.5%, 20%)
CIE-LABlab(54.17, 65.23, -39.55)
CIE-LCHlch(54.17, 76.29, 328.77°)
OKLaboklab(63.26% 0.1837 -0.1089)
OKLCHoklch(63.26% 0.214 329.3)
XYZxyz(37.7947, 22.1324, 56.3031)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CC7 #4CCC51
analogous
#914CCC #CC4CC7 #CC4C87
triadic
#CC4CC7 #C7CC4C #4CC7CC
tetradic
#CC4CC7 #CC914C #4CCC51 #4C87CC
square
#CC4CC7 #CC914C #4CCC51 #4C87CC
split-complementary
#CC4CC7 #87CC4C #4CCC91
monochromatic
#7B2377 #AA31A6 #CC4CC7 #DA7CD6 #E7ABE5

Accessibility & contrast

On white

3.87
#CC4CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CC4CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CC7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CC7#FFFFFF#000000##000000
##CC4CC71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CB
Deuteranopia (green-blind)
#6D88C4
Tritanopia (blue-blind)
#D35B83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4cc7;
/* rgb */ color: rgb(204, 76, 199);
/* oklch */ color: oklch(63.3% 0.214 329.3);
Tailwind
colors: {
  custom: {
    50: '#df87d8',
    500: '#cc4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cc7;
$custom-light: #df87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cc7",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 302.344,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.21359,
    "h": 329.3
  },
  "luminance": 0.2213
}

Semantic roles & 50–950 ramp

primary
#CC4CC7
secondary
#9FD5A1
accent
#DF4F49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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