#CD4DC2#CD4DC2

#CD4DC2 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.209 H 331.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD4DC2
RGBrgb(205, 77, 194)
HSLhsl(305, 56%, 55%)
HSVhsv(305, 62%, 80%)
CMYKcmyk(0%, 62.4%, 5.4%, 19.6%)
CIE-LABlab(54.22, 64.26, -36.58)
CIE-LCHlch(54.22, 73.94, 330.35°)
OKLaboklab(63.25% 0.1832 -0.1004)
OKLCHoklch(63.25% 0.209 331.3)
XYZxyz(37.5682, 22.1847, 53.3318)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DC2 #4DCD58
analogous
#984DCD #CD4DC2 #CD4D82
triadic
#CD4DC2 #C2CD4D #4DC2CD
tetradic
#CD4DC2 #CD984D #4DCD58 #4D82CD
square
#CD4DC2 #CD984D #4DCD58 #4D82CD
split-complementary
#CD4DC2 #82CD4D #4DCD98
monochromatic
#7D2375 #AC30A2 #CD4DC2 #DA7DD2 #E8ADE3

Accessibility & contrast

On white

3.86
#CD4DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DC2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DC2#FFFFFF#000000##000000
##CD4DC21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C6
Deuteranopia (green-blind)
#7188BF
Tritanopia (blue-blind)
#D55981
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4dc2;
/* rgb */ color: rgb(205, 77, 194);
/* oklch */ color: oklch(63.2% 0.209 331.3);
Tailwind
colors: {
  custom: {
    50: '#df87d5',
    500: '#cd4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dc2;
$custom-light: #df87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dc2",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 305.156,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.20887,
    "h": 331.3
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#CD4DC2
secondary
#A0D6A5
accent
#DF5548
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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