#CD4EC7#CD4EC7

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

Color values

HEX#CD4EC7
RGBrgb(205, 78, 199)
HSLhsl(303, 56%, 55%)
HSVhsv(303, 62%, 80%)
CMYKcmyk(0%, 62%, 2.9%, 19.6%)
CIE-LABlab(54.61, 64.67, -38.84)
CIE-LCHlch(54.61, 75.44, 329.01°)
OKLaboklab(63.61% 0.1825 -0.1069)
OKLCHoklch(63.61% 0.211 329.6)
XYZxyz(38.2097, 22.5541, 56.3626)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC7 #4ECD54
analogous
#944ECD #CD4EC7 #CD4E87
triadic
#CD4EC7 #C7CD4E #4EC7CD
tetradic
#CD4EC7 #CD944E #4ECD54 #4E87CD
square
#CD4EC7 #CD944E #4ECD54 #4E87CD
split-complementary
#CD4EC7 #87CD4E #4ECD94
monochromatic
#7D2379 #AD31A7 #CD4EC7 #DA7ED6 #E8ADE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4EC7#FFFFFF#000000##000000
##CD4EC71.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)
#4378CB
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#D45C84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4ec7;
/* rgb */ color: rgb(205, 78, 199);
/* oklch */ color: oklch(63.6% 0.211 329.6);
Tailwind
colors: {
  custom: {
    50: '#df88d8',
    500: '#cd4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec7;
$custom-light: #df88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec7",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 302.835,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63609,
    "c": 0.21147,
    "h": 329.6
  },
  "luminance": 0.22551
}

Semantic roles & 50–950 ramp

primary
#CD4EC7
secondary
#A1D6A3
accent
#DF5049
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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