#CC4DCD#CC4DCD

#CC4DCD is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.217 H 327.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CC4DCD
RGBrgb(204, 77, 205)
HSLhsl(300, 56%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0.5%, 62.4%, 0%, 19.6%)
CIE-LABlab(54.61, 65.83, -42.29)
CIE-LCHlch(54.61, 78.24, 327.29°)
OKLaboklab(63.68% 0.183 -0.1168)
OKLCHoklch(63.68% 0.217 327.4)
XYZxyz(38.5746, 22.5554, 60.0676)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DCD #4ECD4D
analogous
#8C4DCD #CC4DCD #CD4D8E
triadic
#CC4DCD #CDCC4D #4DCDCC
tetradic
#CC4DCD #CD8C4D #4ECD4D #4D8ECD
square
#CC4DCD #CD8C4D #4ECD4D #4D8ECD
split-complementary
#CC4DCD #8ECD4D #4DCD8C
monochromatic
#7C237D #AB30AC #CC4DCD #DA7DDA #E7ADE8

Accessibility & contrast

On white

3.81
#CC4DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CC4DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DCD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DCD#FFFFFF#000000##000000
##CC4DCD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#6B88CA
Tritanopia (blue-blind)
#D25E86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4dcd;
/* rgb */ color: rgb(204, 77, 205);
/* oklch */ color: oklch(63.7% 0.217 327.4);
Tailwind
colors: {
  custom: {
    50: '#df87dd',
    500: '#cc4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc4dcd;
$custom-light: #df87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4dcd",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 299.531,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63677,
    "c": 0.21711,
    "h": 327.4
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

primary
#CC4DCD
secondary
#A1D6A0
accent
#DF484A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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