#CD4EC4#CD4EC4

#CD4EC4 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.209 H 330.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CD4EC4
RGBrgb(205, 78, 196)
HSLhsl(304, 56%, 55%)
HSVhsv(304, 62%, 80%)
CMYKcmyk(0%, 62%, 4.4%, 19.6%)
CIE-LABlab(54.47, 64.17, -37.35)
CIE-LCHlch(54.47, 74.25, 329.80°)
OKLaboklab(63.46% 0.1822 -0.1026)
OKLCHoklch(63.46% 0.209 330.6)
XYZxyz(37.8648, 22.4161, 54.5463)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC4 #4ECD57
analogous
#964ECD #CD4EC4 #CD4E84
triadic
#CD4EC4 #C4CD4E #4EC4CD
tetradic
#CD4EC4 #CD964E #4ECD57 #4E84CD
square
#CD4EC4 #CD964E #4ECD57 #4E84CD
split-complementary
#CD4EC4 #84CD4E #4ECD96
monochromatic
#7D2377 #AD31A4 #CD4EC4 #DA7ED4 #E8ADE4

Accessibility & contrast

On white

3.83
#CD4EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CD4EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EC4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EC4#FFFFFF#000000##000000
##CD4EC41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4577C8
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#D55B82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4ec4;
/* rgb */ color: rgb(205, 78, 196);
/* oklch */ color: oklch(63.5% 0.209 330.6);
Tailwind
colors: {
  custom: {
    50: '#df88d6',
    500: '#cd4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec4;
$custom-light: #df88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec4",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 304.252,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63457,
    "c": 0.20909,
    "h": 330.6
  },
  "luminance": 0.22413
}

Semantic roles & 50–950 ramp

primary
#CD4EC4
secondary
#A1D6A5
accent
#DF5349
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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