#CD50C1#CD50C1

#CD50C1 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.204 H 331.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD50C1
RGBrgb(205, 80, 193)
HSLhsl(306, 56%, 56%)
HSVhsv(306, 61%, 80%)
CMYKcmyk(0%, 61%, 5.9%, 19.6%)
CIE-LABlab(54.63, 62.85, -35.37)
CIE-LCHlch(54.63, 72.12, 330.63°)
OKLaboklab(63.53% 0.1795 -0.0969)
OKLCHoklch(63.53% 0.204 331.6)
XYZxyz(37.6711, 22.5694, 52.8140)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C1 #50CD5C
analogous
#9A50CD #CD50C1 #CD5082
triadic
#CD50C1 #C1CD50 #50C1CD
tetradic
#CD50C1 #CD9A50 #50CD5C #5082CD
square
#CD50C1 #CD9A50 #50CD5C #5082CD
split-complementary
#CD50C1 #82CD50 #50CD9A
monochromatic
#7E2476 #AE32A2 #CD50C1 #DB80D2 #E8AFE3

Accessibility & contrast

On white

3.81
#CD50C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD50C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50C1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50C1#FFFFFF#000000##000000
##CD50C11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#7389BE
Tritanopia (blue-blind)
#D55B81
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd50c1;
/* rgb */ color: rgb(205, 80, 193);
/* oklch */ color: oklch(63.5% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#df89d4',
    500: '#cd50c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c1;
$custom-light: #df89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c1",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 305.76,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.20397,
    "h": 331.6
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#CD50C1
secondary
#A2D6A7
accent
#DF5749
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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