#CD4ED9#CD4ED9

#CD4ED9 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.6% C 0.226 H 324.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CD4ED9
RGBrgb(205, 78, 217)
HSLhsl(295, 65%, 58%)
HSVhsv(295, 64%, 85%)
CMYKcmyk(5.5%, 64.1%, 0%, 14.9%)
CIE-LABlab(55.52, 67.73, -47.66)
CIE-LCHlch(55.52, 82.82, 324.86°)
OKLaboklab(64.57% 0.1835 -0.1324)
OKLCHoklch(64.57% 0.226 324.2)
XYZxyz(40.4245, 23.4400, 68.0273)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ED9 #5AD94E
analogous
#874ED9 #CD4ED9 #D94E9F
triadic
#CD4ED9 #D9CD4E #4ED9CD
tetradic
#CD4ED9 #D9874E #5AD94E #4E9FD9
square
#CD4ED9 #D9874E #5AD94E #4E9FD9
split-complementary
#CD4ED9 #9FD94E #4ED987
monochromatic
#841F8E #B329C0 #CD4ED9 #DB80E4 #E9B3EF

Accessibility & contrast

On white

3.69
#CD4ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CD4ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ED9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ED9#FFFFFF#000000##000000
##CD4ED91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDD
Deuteranopia (green-blind)
#668AD5
Tritanopia (blue-blind)
#D1638D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd4ed9;
/* rgb */ color: rgb(205, 78, 217);
/* oklch */ color: oklch(64.6% 0.226 324.2);
Tailwind
colors: {
  custom: {
    50: '#e088e5',
    500: '#cd4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ed9;
$custom-light: #e088e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ed9",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 294.82,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.22626,
    "h": 324.2
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#CD4ED9
secondary
#AADDA6
accent
#E8404F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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