#CD4ECC#CD4ECC

#CD4ECC is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.215 H 328.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CD4ECC
RGBrgb(205, 78, 204)
HSLhsl(300, 56%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0%, 62%, 0.5%, 19.6%)
CIE-LABlab(54.86, 65.50, -41.32)
CIE-LCHlch(54.86, 77.44, 327.75°)
OKLaboklab(63.87% 0.1829 -0.114)
OKLCHoklch(63.87% 0.216 328.1)
XYZxyz(38.7998, 22.7901, 59.4704)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ECC #4ECD4F
analogous
#8E4ECD #CD4ECC #CD4E8D
triadic
#CD4ECC #CCCD4E #4ECCCD
tetradic
#CD4ECC #CD8E4E #4ECD4F #4E8DCD
square
#CD4ECC #CD8E4E #4ECD4F #4E8DCD
split-complementary
#CD4ECC #8DCD4E #4ECD8E
monochromatic
#7D237D #AD31AC #CD4ECC #DA7EDA #E8ADE7

Accessibility & contrast

On white

3.78
#CD4ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CD4ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ECC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ECC#FFFFFF#000000##000000
##CD4ECC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D0
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#D35E86
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4ecc;
/* rgb */ color: rgb(205, 78, 204);
/* oklch */ color: oklch(63.9% 0.215 328.1);
Tailwind
colors: {
  custom: {
    50: '#df88dc',
    500: '#cd4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ecc;
$custom-light: #df88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ecc",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 300.472,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63867,
    "c": 0.2155,
    "h": 328.1
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#CD4ECC
secondary
#A1D6A1
accent
#DF4A49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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