#CD4ED2#CD4ED2

#CD4ED2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.220 H 326.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CD4ED2
RGBrgb(205, 78, 210)
HSLhsl(298, 59%, 56%)
HSVhsv(298, 63%, 82%)
CMYKcmyk(2.4%, 62.9%, 0%, 17.6%)
CIE-LABlab(55.16, 66.51, -44.26)
CIE-LCHlch(55.16, 79.90, 326.36°)
OKLaboklab(64.18% 0.1832 -0.1225)
OKLCHoklch(64.18% 0.22 326.2)
XYZxyz(39.5333, 23.0835, 63.3336)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4ED2 #53D24E
analogous
#8B4ED2 #CD4ED2 #D24E95
triadic
#CD4ED2 #D2CD4E #4ED2CD
tetradic
#CD4ED2 #D28B4E #53D24E #4E95D2
square
#CD4ED2 #D28B4E #53D24E #4E95D2
split-complementary
#CD4ED2 #95D24E #4ED28B
monochromatic
#802284 #B02EB5 #CD4ED2 #DB7FDE #E9B0EB

Accessibility & contrast

On white

3.74
#CD4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4ED2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4ED2#FFFFFF#000000##000000
##CD4ED21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#6A8ACE
Tritanopia (blue-blind)
#D26089
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd4ed2;
/* rgb */ color: rgb(205, 78, 210);
/* oklch */ color: oklch(64.2% 0.220 326.2);
Tailwind
colors: {
  custom: {
    50: '#e088e0',
    500: '#cd4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ed2;
$custom-light: #e088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ed2",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 297.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.22042,
    "h": 326.2
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#CD4ED2
secondary
#A5D9A3
accent
#E3454B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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