#CC4FDF#CC4FDF

#CC4FDF is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.230 H 322.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CC4FDF
RGBrgb(204, 79, 223)
HSLhsl(292, 69%, 59%)
HSVhsv(292, 65%, 87%)
CMYKcmyk(8.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(55.85, 68.16, -50.55)
CIE-LCHlch(55.85, 84.86, 323.44°)
OKLaboklab(64.87% 0.1813 -0.1409)
OKLCHoklch(64.87% 0.23 322.2)
XYZxyz(41.0157, 23.7592, 72.2233)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FDF #62DF4F
analogous
#844FDF #CC4FDF #DF4FAA
triadic
#CC4FDF #DFCC4F #4FDFCC
tetradic
#CC4FDF #DF844F #62DF4F #4FAADF
square
#CC4FDF #DF844F #62DF4F #4FAADF
split-complementary
#CC4FDF #AADF4F #4FDF84
monochromatic
#881C98 #B625CC #CC4FDF #DB83E8 #EAB7F2

Accessibility & contrast

On white

3.65
#CC4FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CC4FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FDF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FDF#FFFFFF#000000##000000
##CC4FDF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#628BDB
Tritanopia (blue-blind)
#CE6791
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc4fdf;
/* rgb */ color: rgb(204, 79, 223);
/* oklch */ color: oklch(64.9% 0.230 322.2);
Tailwind
colors: {
  custom: {
    50: '#df89e9',
    500: '#cc4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fdf;
$custom-light: #df89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fdf",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 292.083,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.22961,
    "h": 322.2
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#CC4FDF
secondary
#B0E1A9
accent
#EC3C53
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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