#CD4FC7#CD4FC7

#CD4FC7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.210 H 329.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD4FC7
RGBrgb(205, 79, 199)
HSLhsl(303, 56%, 56%)
HSVhsv(303, 61%, 80%)
CMYKcmyk(0%, 61.5%, 2.9%, 19.6%)
CIE-LABlab(54.76, 64.25, -38.61)
CIE-LCHlch(54.76, 74.96, 329.00°)
OKLaboklab(63.72% 0.1813 -0.1062)
OKLCHoklch(63.72% 0.21 329.6)
XYZxyz(38.2813, 22.6973, 56.3865)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FC7 #4FCD55
analogous
#944FCD #CD4FC7 #CD4F88
triadic
#CD4FC7 #C7CD4F #4FC7CD
tetradic
#CD4FC7 #CD944F #4FCD55 #4F88CD
square
#CD4FC7 #CD944F #4FCD55 #4F88CD
split-complementary
#CD4FC7 #88CD4F #4FCD94
monochromatic
#7E247A #AE31A8 #CD4FC7 #DB7FD6 #E8AEE5

Accessibility & contrast

On white

3.79
#CD4FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CD4FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FC7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FC7#FFFFFF#000000##000000
##CD4FC71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#7089C4
Tritanopia (blue-blind)
#D45D84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd4fc7;
/* rgb */ color: rgb(205, 79, 199);
/* oklch */ color: oklch(63.7% 0.210 329.6);
Tailwind
colors: {
  custom: {
    50: '#df88d8',
    500: '#cd4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fc7;
$custom-light: #df88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fc7",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 302.857,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.21011,
    "h": 329.6
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#CD4FC7
secondary
#A2D6A4
accent
#DF5049
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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