#CD50D1#CD50D1

#CD50D1 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.217 H 326.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CD50D1
RGBrgb(205, 80, 209)
HSLhsl(298, 58%, 57%)
HSVhsv(298, 62%, 82%)
CMYKcmyk(1.9%, 61.7%, 0%, 18%)
CIE-LABlab(55.40, 65.52, -43.31)
CIE-LCHlch(55.40, 78.54, 326.54°)
OKLaboklab(64.35% 0.1809 -0.1198)
OKLCHoklch(64.35% 0.217 326.5)
XYZxyz(39.5534, 23.3224, 62.7276)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D1 #54D150
analogous
#8D50D1 #CD50D1 #D15094
triadic
#CD50D1 #D1CD50 #50D1CD
tetradic
#CD50D1 #D18D50 #54D150 #5094D1
square
#CD50D1 #D18D50 #54D150 #5094D1
split-complementary
#CD50D1 #94D150 #50D18D
monochromatic
#812384 #B02FB4 #CD50D1 #DB80DE #E9B1EA

Accessibility & contrast

On white

3.71
#CD50D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CD50D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50D1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50D1#FFFFFF#000000##000000
##CD50D11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#6B8ACE
Tritanopia (blue-blind)
#D26289
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd50d1;
/* rgb */ color: rgb(205, 80, 209);
/* oklch */ color: oklch(64.3% 0.217 326.5);
Tailwind
colors: {
  custom: {
    50: '#df89df',
    500: '#cd50d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d1;
$custom-light: #df89df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d1",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 298.14,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.21694,
    "h": 326.5
  },
  "luminance": 0.2332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD50D1

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

Preview Lab → · Contrast checker → · Palette generator →

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