#CD4EC9#CD4EC9

#CD4EC9 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.213 H 329.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CD4EC9
RGBrgb(205, 78, 201)
HSLhsl(302, 56%, 55%)
HSVhsv(302, 62%, 80%)
CMYKcmyk(0%, 62%, 2%, 19.6%)
CIE-LABlab(54.71, 65.00, -39.84)
CIE-LCHlch(54.71, 76.23, 328.50°)
OKLaboklab(63.71% 0.1826 -0.1097)
OKLCHoklch(63.71% 0.213 329)
XYZxyz(38.4435, 22.6476, 57.5936)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EC9 #4ECD52
analogous
#924ECD #CD4EC9 #CD4E89
triadic
#CD4EC9 #C9CD4E #4EC9CD
tetradic
#CD4EC9 #CD924E #4ECD52 #4E89CD
square
#CD4EC9 #CD924E #4ECD52 #4E89CD
split-complementary
#CD4EC9 #89CD4E #4ECD92
monochromatic
#7D237A #AD31A9 #CD4EC9 #DA7ED8 #E8ADE6

Accessibility & contrast

On white

3.80
#CD4EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CD4EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EC9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EC9#FFFFFF#000000##000000
##CD4EC91.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4ec9;
/* rgb */ color: rgb(205, 78, 201);
/* oklch */ color: oklch(63.7% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#df88da',
    500: '#cd4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ec9;
$custom-light: #df88da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ec9",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 301.89,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.21308,
    "h": 329
  },
  "luminance": 0.22645
}

Semantic roles & 50–950 ramp

primary
#CD4EC9
secondary
#A1D6A3
accent
#DF4D49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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