#CD4ECA#CD4ECA

#CD4ECA is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.214 H 328.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD4ECA
RGBrgb(205, 78, 202)
HSLhsl(301, 56%, 55%)
HSVhsv(301, 62%, 80%)
CMYKcmyk(0%, 62%, 1.5%, 19.6%)
CIE-LABlab(54.76, 65.16, -40.33)
CIE-LCHlch(54.76, 76.63, 328.24°)
OKLaboklab(63.76% 0.1827 -0.1112)
OKLCHoklch(63.76% 0.214 328.7)
XYZxyz(38.5615, 22.6948, 58.2151)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ECA #4ECD51
analogous
#904ECD #CD4ECA #CD4E8B
triadic
#CD4ECA #CACD4E #4ECACD
tetradic
#CD4ECA #CD904E #4ECD51 #4E8BCD
square
#CD4ECA #CD904E #4ECD51 #4E8BCD
split-complementary
#CD4ECA #8BCD4E #4ECD90
monochromatic
#7D237B #AD31AA #CD4ECA #DA7ED8 #E8ADE7

Accessibility & contrast

On white

3.79
#CD4ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CD4ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ECA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ECA#FFFFFF#000000##000000
##CD4ECA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#6E89C7
Tritanopia (blue-blind)
#D45D85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4eca;
/* rgb */ color: rgb(205, 78, 202);
/* oklch */ color: oklch(63.8% 0.214 328.7);
Tailwind
colors: {
  custom: {
    50: '#df88da',
    500: '#cd4eca',
    950: '#000000',
  },
}
SCSS
$custom: #cd4eca;
$custom-light: #df88da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4eca",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 301.417,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.21388,
    "h": 328.7
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#CD4ECA
secondary
#A1D6A2
accent
#DF4C49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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