#CC4FC8#CC4FC8

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

Color values

HEX#CC4FC8
RGBrgb(204, 79, 200)
HSLhsl(302, 55%, 55%)
HSVhsv(302, 61%, 80%)
CMYKcmyk(0%, 61.3%, 2%, 20%)
CIE-LABlab(54.66, 64.17, -39.35)
CIE-LCHlch(54.66, 75.27, 328.48°)
OKLaboklab(63.63% 0.1803 -0.1084)
OKLCHoklch(63.63% 0.21 329)
XYZxyz(38.1228, 22.6020, 56.9871)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FC8 #4FCC53
analogous
#914FCC #CC4FC8 #CC4F89
triadic
#CC4FC8 #C8CC4F #4FC8CC
tetradic
#CC4FC8 #CC914F #4FCC53 #4F89CC
square
#CC4FC8 #CC914F #4FCC53 #4F89CC
split-complementary
#CC4FC8 #89CC4F #4FCC91
monochromatic
#7D247A #AC32A8 #CC4FC8 #DA7ED7 #E7AEE6

Accessibility & contrast

On white

3.80
#CC4FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CC4FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FC8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FC8#FFFFFF#000000##000000
##CC4FC81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#6E89C5
Tritanopia (blue-blind)
#D35D84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4fc8;
/* rgb */ color: rgb(204, 79, 200);
/* oklch */ color: oklch(63.6% 0.210 329.0);
Tailwind
colors: {
  custom: {
    50: '#df88d9',
    500: '#cc4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fc8;
$custom-light: #df88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fc8",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 301.92,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.21036,
    "h": 329
  },
  "luminance": 0.22599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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