#CD50D2#CD50D2

#CD50D2 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.218 H 326.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CD50D2
RGBrgb(205, 80, 210)
HSLhsl(298, 59%, 57%)
HSVhsv(298, 62%, 82%)
CMYKcmyk(2.4%, 61.9%, 0%, 17.6%)
CIE-LABlab(55.45, 65.70, -43.80)
CIE-LCHlch(55.45, 78.96, 326.31°)
OKLaboklab(64.4% 0.1809 -0.1212)
OKLCHoklch(64.4% 0.218 326.2)
XYZxyz(39.6776, 23.3721, 63.3817)
Luminance0.2337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D2 #55D250
analogous
#8C50D2 #CD50D2 #D25096
triadic
#CD50D2 #D2CD50 #50D2CD
tetradic
#CD50D2 #D28C50 #55D250 #5096D2
square
#CD50D2 #D28C50 #55D250 #5096D2
split-complementary
#CD50D2 #96D250 #50D28C
monochromatic
#822285 #B12FB6 #CD50D2 #DB81DF #E9B1EB

Accessibility & contrast

On white

3.70
#CD50D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CD50D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50D2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50D2#FFFFFF#000000##000000
##CD50D21.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#6B8ACF
Tritanopia (blue-blind)
#D2628A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd50d2;
/* rgb */ color: rgb(205, 80, 210);
/* oklch */ color: oklch(64.4% 0.218 326.2);
Tailwind
colors: {
  custom: {
    50: '#df89e0',
    500: '#cd50d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d2;
$custom-light: #df89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 297.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64398,
    "c": 0.21777,
    "h": 326.2
  },
  "luminance": 0.2337
}

Semantic roles & 50–950 ramp

primary
#CD50D2
secondary
#A6D9A4
accent
#E2464C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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