#CD4ECD#CD4ECD

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

Color values

HEX#CD4ECD
RGBrgb(205, 78, 205)
HSLhsl(300, 56%, 55%)
HSVhsv(300, 62%, 80%)
CMYKcmyk(0%, 62%, 0%, 19.6%)
CIE-LABlab(54.91, 65.67, -41.81)
CIE-LCHlch(54.91, 77.85, 327.51°)
OKLaboklab(63.92% 0.1829 -0.1154)
OKLCHoklch(63.92% 0.216 327.7)
XYZxyz(38.9201, 22.8383, 60.1040)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ECD #4ECD4E
analogous
#8D4ECD #CD4ECD #CD4E8D
triadic
#CD4ECD #CDCD4E #4ECDCD
tetradic
#CD4ECD #CD8D4E #4ECD4E #4E8DCD
square
#CD4ECD #CD8D4E #4ECD4E #4E8DCD
split-complementary
#CD4ECD #8DCD4E #4ECD8D
monochromatic
#7D237D #AD31AD #CD4ECD #DA7EDA #E8ADE8

Accessibility & contrast

On white

3.77
#CD4ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD4ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ECD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ECD#FFFFFF#000000##000000
##CD4ECD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#D35E87
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4ecd;
/* rgb */ color: rgb(205, 78, 205);
/* oklch */ color: oklch(63.9% 0.216 327.7);
Tailwind
colors: {
  custom: {
    50: '#df88dd',
    500: '#cd4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ecd;
$custom-light: #df88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ecd",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.21631,
    "h": 327.7
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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