#CD50D6#CD50D6

#CD50D6 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.221 H 325.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD50D6
RGBrgb(205, 80, 214)
HSLhsl(296, 62%, 58%)
HSVhsv(296, 63%, 84%)
CMYKcmyk(4.2%, 62.6%, 0%, 16.1%)
CIE-LABlab(55.66, 66.39, -45.75)
CIE-LCHlch(55.66, 80.62, 325.43°)
OKLaboklab(64.61% 0.1811 -0.1269)
OKLCHoklch(64.61% 0.221 325)
XYZxyz(40.1821, 23.5739, 66.0390)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50D6 #59D650
analogous
#8A50D6 #CD50D6 #D6509C
triadic
#CD50D6 #D6CD50 #50D6CD
tetradic
#CD50D6 #D68A50 #59D650 #509CD6
square
#CD50D6 #D68A50 #59D650 #509CD6
split-complementary
#CD50D6 #9CD650 #50D68A
monochromatic
#84218B #B32CBD #CD50D6 #DB82E2 #E9B3ED

Accessibility & contrast

On white

3.68
#CD50D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CD50D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50D6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50D6#FFFFFF#000000##000000
##CD50D61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387BDA
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#D1638C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd50d6;
/* rgb */ color: rgb(205, 80, 214);
/* oklch */ color: oklch(64.6% 0.221 325.0);
Tailwind
colors: {
  custom: {
    50: '#e089e3',
    500: '#cd50d6',
    950: '#000000',
  },
}
SCSS
$custom: #cd50d6;
$custom-light: #e089e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50d6",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 295.97,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.22112,
    "h": 325
  },
  "luminance": 0.23571
}

Semantic roles & 50–950 ramp

primary
#CD50D6
secondary
#AADCA6
accent
#E5434E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD50D6

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

Preview Lab → · Contrast checker → · Palette generator →

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