#CD50C2#CD50C2

#CD50C2 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.205 H 331.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD50C2
RGBrgb(205, 80, 194)
HSLhsl(305, 56%, 56%)
HSVhsv(305, 61%, 80%)
CMYKcmyk(0%, 61%, 5.4%, 19.6%)
CIE-LABlab(54.67, 63.02, -35.88)
CIE-LCHlch(54.67, 72.51, 330.35°)
OKLaboklab(63.58% 0.1796 -0.0984)
OKLCHoklch(63.58% 0.205 331.3)
XYZxyz(37.7830, 22.6142, 53.4034)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50C2 #50CD5B
analogous
#9950CD #CD50C2 #CD5083
triadic
#CD50C2 #C2CD50 #50C2CD
tetradic
#CD50C2 #CD9950 #50CD5B #5083CD
square
#CD50C2 #CD9950 #50CD5B #5083CD
split-complementary
#CD50C2 #83CD50 #50CD99
monochromatic
#7E2477 #AE32A3 #CD50C2 #DB80D3 #E8AFE3

Accessibility & contrast

On white

3.80
#CD50C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD50C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50C2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50C2#FFFFFF#000000##000000
##CD50C21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C5
Deuteranopia (green-blind)
#7389BF
Tritanopia (blue-blind)
#D55C82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd50c2;
/* rgb */ color: rgb(205, 80, 194);
/* oklch */ color: oklch(63.6% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#df89d5',
    500: '#cd50c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50c2;
$custom-light: #df89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50c2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 305.28,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.20476,
    "h": 331.3
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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