#CC4DC2#CC4DC2

#CC4DC2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.1% C 0.208 H 331.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CC4DC2
RGBrgb(204, 77, 194)
HSLhsl(305, 55%, 55%)
HSVhsv(305, 62%, 80%)
CMYKcmyk(0%, 62.3%, 4.9%, 20%)
CIE-LABlab(54.07, 64.01, -36.83)
CIE-LCHlch(54.07, 73.85, 330.09°)
OKLaboklab(63.11% 0.1821 -0.1011)
OKLCHoklch(63.11% 0.208 331)
XYZxyz(37.2932, 22.0429, 53.3190)
Luminance0.2204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DC2 #4DCC57
analogous
#964DCC #CC4DC2 #CC4D83
triadic
#CC4DC2 #C2CC4D #4DC2CC
tetradic
#CC4DC2 #CC964D #4DCC57 #4D83CC
square
#CC4DC2 #CC964D #4DCC57 #4D83CC
split-complementary
#CC4DC2 #83CC4D #4DCC96
monochromatic
#7B2374 #AB31A1 #CC4DC2 #DA7DD2 #E7ACE3

Accessibility & contrast

On white

3.88
#CC4DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CC4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DC2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DC2#FFFFFF#000000##000000
##CC4DC21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#7088BF
Tritanopia (blue-blind)
#D45A81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4dc2;
/* rgb */ color: rgb(204, 77, 194);
/* oklch */ color: oklch(63.1% 0.208 331.0);
Tailwind
colors: {
  custom: {
    50: '#df87d5',
    500: '#cc4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4dc2;
$custom-light: #df87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4dc2",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 304.724,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6311,
    "c": 0.20829,
    "h": 331
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#CC4DC2
secondary
#A0D5A4
accent
#DF5549
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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