#CD50D3#CD50D3

#CD50D3 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.219 H 325.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD50D3
RGBrgb(205, 80, 211)
HSLhsl(297, 60%, 57%)
HSVhsv(297, 62%, 83%)
CMYKcmyk(2.8%, 62.1%, 0%, 17.3%)
CIE-LABlab(55.50, 65.87, -44.29)
CIE-LCHlch(55.50, 79.37, 326.09°)
OKLaboklab(64.45% 0.181 -0.1226)
OKLCHoklch(64.45% 0.219 325.9)
XYZxyz(39.8026, 23.4220, 64.0398)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D3 #56D350
analogous
#8C50D3 #CD50D3 #D35098
triadic
#CD50D3 #D3CD50 #50D3CD
tetradic
#CD50D3 #D38C50 #56D350 #5098D3
square
#CD50D3 #D38C50 #56D350 #5098D3
split-complementary
#CD50D3 #98D350 #50D38C
monochromatic
#822287 #B12EB8 #CD50D3 #DB81DF #E9B2EC

Accessibility & contrast

On white

3.69
#CD50D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD50D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50D3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50D3#FFFFFF#000000##000000
##CD50D31.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD7
Deuteranopia (green-blind)
#6A8AD0
Tritanopia (blue-blind)
#D2628B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd50d3;
/* rgb */ color: rgb(205, 80, 211);
/* oklch */ color: oklch(64.5% 0.219 325.9);
Tailwind
colors: {
  custom: {
    50: '#df89e1',
    500: '#cd50d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d3;
$custom-light: #df89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d3",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 297.252,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.21861,
    "h": 325.9
  },
  "luminance": 0.2342
}

Semantic roles & 50–950 ramp

primary
#CD50D3
secondary
#A7DAA5
accent
#E3454C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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