#CD4DC7#CD4DC7

#CD4DC7 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.213 H 329.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CD4DC7
RGBrgb(205, 77, 199)
HSLhsl(303, 56%, 55%)
HSVhsv(303, 62%, 80%)
CMYKcmyk(0%, 62.4%, 2.9%, 19.6%)
CIE-LABlab(54.46, 65.07, -39.08)
CIE-LCHlch(54.46, 75.90, 329.02°)
OKLaboklab(63.5% 0.1836 -0.1075)
OKLCHoklch(63.5% 0.213 329.6)
XYZxyz(38.1392, 22.4131, 56.3391)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DC7 #4DCD53
analogous
#934DCD #CD4DC7 #CD4D87
triadic
#CD4DC7 #C7CD4D #4DC7CD
tetradic
#CD4DC7 #CD934D #4DCD53 #4D87CD
square
#CD4DC7 #CD934D #4DCD53 #4D87CD
split-complementary
#CD4DC7 #87CD4D #4DCD93
monochromatic
#7D2378 #AC30A7 #CD4DC7 #DA7DD6 #E8ADE5

Accessibility & contrast

On white

3.83
#CD4DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CD4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DC7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DC7#FFFFFF#000000##000000
##CD4DC71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#6F88C4
Tritanopia (blue-blind)
#D45B83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd4dc7;
/* rgb */ color: rgb(205, 77, 199);
/* oklch */ color: oklch(63.5% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#df87d8',
    500: '#cd4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4dc7;
$custom-light: #df87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4dc7",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 302.813,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.21281,
    "h": 329.6
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#CD4DC7
secondary
#A0D6A3
accent
#DF4F48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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