#CD50C7#CD50C7

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

Color values

HEX#CD50C7
RGBrgb(205, 80, 199)
HSLhsl(303, 56%, 56%)
HSVhsv(303, 61%, 80%)
CMYKcmyk(0%, 61%, 2.9%, 19.6%)
CIE-LABlab(54.91, 63.84, -38.37)
CIE-LCHlch(54.91, 74.48, 328.99°)
OKLaboklab(63.83% 0.1801 -0.1055)
OKLCHoklch(63.83% 0.209 329.6)
XYZxyz(38.3540, 22.8426, 56.4107)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C7 #50CD56
analogous
#9450CD #CD50C7 #CD5088
triadic
#CD50C7 #C7CD50 #50C7CD
tetradic
#CD50C7 #CD9450 #50CD56 #5088CD
square
#CD50C7 #CD9450 #50CD56 #5088CD
split-complementary
#CD50C7 #88CD50 #50CD94
monochromatic
#7E247A #AE32A8 #CD50C7 #DB80D6 #E8AFE5

Accessibility & contrast

On white

3.77
#CD50C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CD50C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50C7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50C7#FFFFFF#000000##000000
##CD50C71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd50c7;
/* rgb */ color: rgb(205, 80, 199);
/* oklch */ color: oklch(63.8% 0.209 329.6);
Tailwind
colors: {
  custom: {
    50: '#df89d8',
    500: '#cd50c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c7;
$custom-light: #df89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c7",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 302.88,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.20875,
    "h": 329.6
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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