#CD50C6#CD50C6

#CD50C6 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.208 H 330.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CD50C6
RGBrgb(205, 80, 198)
HSLhsl(303, 56%, 56%)
HSVhsv(303, 61%, 80%)
CMYKcmyk(0%, 61%, 3.4%, 19.6%)
CIE-LABlab(54.86, 63.67, -37.88)
CIE-LCHlch(54.86, 74.09, 329.25°)
OKLaboklab(63.78% 0.18 -0.1041)
OKLCHoklch(63.78% 0.208 330)
XYZxyz(38.2383, 22.7963, 55.8012)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C6 #50CD57
analogous
#9550CD #CD50C6 #CD5087
triadic
#CD50C6 #C6CD50 #50C6CD
tetradic
#CD50C6 #CD9550 #50CD57 #5087CD
square
#CD50C6 #CD9550 #50CD57 #5087CD
split-complementary
#CD50C6 #87CD50 #50CD95
monochromatic
#7E2479 #AE32A7 #CD50C6 #DB80D6 #E8AFE5

Accessibility & contrast

On white

3.78
#CD50C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CD50C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50C6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50C6#FFFFFF#000000##000000
##CD50C61.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4678CA
Deuteranopia (green-blind)
#7189C3
Tritanopia (blue-blind)
#D45D84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd50c6;
/* rgb */ color: rgb(205, 80, 198);
/* oklch */ color: oklch(63.8% 0.208 330.0);
Tailwind
colors: {
  custom: {
    50: '#df89d7',
    500: '#cd50c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c6;
$custom-light: #df89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c6",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 198
  },
  "hsl": {
    "h": 303.36,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.20795,
    "h": 330
  },
  "luminance": 0.22794
}

Semantic roles & 50–950 ramp

primary
#CD50C6
secondary
#A2D6A5
accent
#DF5149
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD50C6

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

Preview Lab → · Contrast checker → · Palette generator →

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