#CD50C4#CD50C4

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

Color values

HEX#CD50C4
RGBrgb(205, 80, 196)
HSLhsl(304, 56%, 56%)
HSVhsv(304, 61%, 80%)
CMYKcmyk(0%, 61%, 4.4%, 19.6%)
CIE-LABlab(54.77, 63.34, -36.88)
CIE-LCHlch(54.77, 73.29, 329.79°)
OKLaboklab(63.68% 0.1798 -0.1012)
OKLCHoklch(63.68% 0.206 330.6)
XYZxyz(38.0091, 22.7047, 54.5944)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C4 #50CD59
analogous
#9750CD #CD50C4 #CD5085
triadic
#CD50C4 #C4CD50 #50C4CD
tetradic
#CD50C4 #CD9750 #50CD59 #5085CD
square
#CD50C4 #CD9750 #50CD59 #5085CD
split-complementary
#CD50C4 #85CD50 #50CD97
monochromatic
#7E2478 #AE32A5 #CD50C4 #DB80D4 #E8AFE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD50C4#FFFFFF#000000##000000
##CD50C41.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)
#4878C8
Deuteranopia (green-blind)
#7289C1
Tritanopia (blue-blind)
#D45D83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd50c4;
/* rgb */ color: rgb(205, 80, 196);
/* oklch */ color: oklch(63.7% 0.206 330.6);
Tailwind
colors: {
  custom: {
    50: '#df89d6',
    500: '#cd50c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c4;
$custom-light: #df89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c4",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 196
  },
  "hsl": {
    "h": 304.32,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63676,
    "c": 0.20635,
    "h": 330.6
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#CD50C4
secondary
#A2D6A6
accent
#DF5449
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD50C4

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

Preview Lab → · Contrast checker → · Palette generator →

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