#CC4FC2#CC4FC2

#CC4FC2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.206 H 331.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CC4FC2
RGBrgb(204, 79, 194)
HSLhsl(305, 55%, 55%)
HSVhsv(305, 61%, 80%)
CMYKcmyk(0%, 61.3%, 4.9%, 20%)
CIE-LABlab(54.37, 63.18, -36.36)
CIE-LCHlch(54.37, 72.89, 330.08°)
OKLaboklab(63.33% 0.1797 -0.0997)
OKLCHoklch(63.33% 0.206 331)
XYZxyz(37.4353, 22.3271, 53.3663)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FC2 #4FCC59
analogous
#974FCC #CC4FC2 #CC4F83
triadic
#CC4FC2 #C2CC4F #4FC2CC
tetradic
#CC4FC2 #CC974F #4FCC59 #4F83CC
square
#CC4FC2 #CC974F #4FCC59 #4F83CC
split-complementary
#CC4FC2 #83CC4F #4FCC97
monochromatic
#7D2475 #AC32A2 #CC4FC2 #DA7ED2 #E7AEE3

Accessibility & contrast

On white

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

On black

5.46
#CC4FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FC2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FC2#FFFFFF#000000##000000
##CC4FC21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#7188BF
Tritanopia (blue-blind)
#D45B81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc4fc2;
/* rgb */ color: rgb(204, 79, 194);
/* oklch */ color: oklch(63.3% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#df88d5',
    500: '#cc4fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fc2;
$custom-light: #df88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fc2",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 304.8,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.20556,
    "h": 331
  },
  "luminance": 0.22324
}

Semantic roles & 50–950 ramp

primary
#CC4FC2
secondary
#A1D5A6
accent
#DE5549
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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