#CD50C5#CD50C5

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

Color values

HEX#CD50C5
RGBrgb(205, 80, 197)
HSLhsl(304, 56%, 56%)
HSVhsv(304, 61%, 80%)
CMYKcmyk(0%, 61%, 3.9%, 19.6%)
CIE-LABlab(54.81, 63.51, -37.38)
CIE-LCHlch(54.81, 73.69, 329.52°)
OKLaboklab(63.73% 0.1799 -0.1027)
OKLCHoklch(63.73% 0.207 330.3)
XYZxyz(38.1233, 22.7503, 55.1958)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C5 #50CD58
analogous
#9650CD #CD50C5 #CD5086
triadic
#CD50C5 #C5CD50 #50C5CD
tetradic
#CD50C5 #CD9650 #50CD58 #5086CD
square
#CD50C5 #CD9650 #50CD58 #5086CD
split-complementary
#CD50C5 #86CD50 #50CD96
monochromatic
#7E2479 #AE32A6 #CD50C5 #DB80D5 #E8AFE5

Accessibility & contrast

On white

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

On black

5.55
#CD50C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50C5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50C5#FFFFFF#000000##000000
##CD50C51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4778C9
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#D45D83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd50c5;
/* rgb */ color: rgb(205, 80, 197);
/* oklch */ color: oklch(63.7% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#df89d7',
    500: '#cd50c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c5;
$custom-light: #df89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c5",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 303.84,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63726,
    "c": 0.20714,
    "h": 330.3
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD50C5

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

Preview Lab → · Contrast checker → · Palette generator →

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