#CC4FC7#CC4FC7

#CC4FC7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.210 H 329.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CC4FC7
RGBrgb(204, 79, 199)
HSLhsl(302, 55%, 55%)
HSVhsv(302, 61%, 80%)
CMYKcmyk(0%, 61.3%, 2.5%, 20%)
CIE-LABlab(54.61, 64.00, -38.85)
CIE-LCHlch(54.61, 74.87, 328.74°)
OKLaboklab(63.58% 0.1802 -0.1069)
OKLCHoklch(63.58% 0.21 329.3)
XYZxyz(38.0063, 22.5555, 56.3736)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FC7 #4FCC54
analogous
#924FCC #CC4FC7 #CC4F88
triadic
#CC4FC7 #C7CC4F #4FC7CC
tetradic
#CC4FC7 #CC924F #4FCC54 #4F88CC
square
#CC4FC7 #CC924F #4FCC54 #4F88CC
split-complementary
#CC4FC7 #88CC4F #4FCC92
monochromatic
#7D2479 #AC32A7 #CC4FC7 #DA7ED6 #E7AEE5

Accessibility & contrast

On white

3.81
#CC4FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CC4FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FC7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FC7#FFFFFF#000000##000000
##CC4FC71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#D35D84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4fc7;
/* rgb */ color: rgb(204, 79, 199);
/* oklch */ color: oklch(63.6% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#df88d8',
    500: '#cc4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fc7;
$custom-light: #df88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fc7",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 302.4,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6358,
    "c": 0.20955,
    "h": 329.3
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#CC4FC7
secondary
#A1D5A3
accent
#DE4F49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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