#CC4CD7#CC4CD7

#CC4CD7 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.227 H 324.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CC4CD7
RGBrgb(204, 76, 215)
HSLhsl(295, 63%, 57%)
HSVhsv(295, 65%, 84%)
CMYKcmyk(5.1%, 64.7%, 0%, 15.7%)
CIE-LABlab(54.98, 67.95, -47.39)
CIE-LCHlch(54.98, 82.84, 325.11°)
OKLaboklab(64.11% 0.1845 -0.1316)
OKLCHoklch(64.11% 0.227 324.5)
XYZxyz(39.7510, 22.9149, 66.6061)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CD7 #57D74C
analogous
#874CD7 #CC4CD7 #D74C9C
triadic
#CC4CD7 #D7CC4C #4CD7CC
tetradic
#CC4CD7 #D7874C #57D74C #4C9CD7
square
#CC4CD7 #D7874C #57D74C #4C9CD7
split-complementary
#CC4CD7 #9CD74C #4CD787
monochromatic
#811F8A #B02ABC #CC4CD7 #DA7EE2 #E9B0ED

Accessibility & contrast

On white

3.76
#CC4CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CC4CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CD7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CD7#FFFFFF#000000##000000
##CC4CD71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADB
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#D0618B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4cd7;
/* rgb */ color: rgb(204, 76, 215);
/* oklch */ color: oklch(64.1% 0.227 324.5);
Tailwind
colors: {
  custom: {
    50: '#df87e4',
    500: '#cc4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cd7;
$custom-light: #df87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cd7",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 295.252,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.22666,
    "h": 324.5
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#CC4CD7
secondary
#A8DCA3
accent
#E6414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CC4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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