#CD56D9#CD56D9

#CD56D9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.4% C 0.216 H 323.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD56D9
RGBrgb(205, 86, 217)
HSLhsl(295, 63%, 59%)
HSVhsv(295, 60%, 85%)
CMYKcmyk(5.5%, 60.4%, 0%, 14.9%)
CIE-LABlab(56.73, 64.39, -45.75)
CIE-LCHlch(56.73, 78.99, 324.60°)
OKLaboklab(65.44% 0.1743 -0.1269)
OKLCHoklch(65.44% 0.216 323.9)
XYZxyz(41.0279, 24.6467, 68.2284)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56D9 #62D956
analogous
#8C56D9 #CD56D9 #D956A4
triadic
#CD56D9 #D9CD56 #56D9CD
tetradic
#CD56D9 #D98C56 #62D956 #56A4D9
square
#CD56D9 #D98C56 #62D956 #56A4D9
split-complementary
#CD56D9 #A4D956 #56D98C
monochromatic
#892193 #B72CC5 #CD56D9 #DC88E4 #EBBAEF

Accessibility & contrast

On white

3.54
#CD56D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD56D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56D9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56D9#FFFFFF#000000##000000
##CD56D91.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDD
Deuteranopia (green-blind)
#6B8DD6
Tritanopia (blue-blind)
#D16990
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd56d9;
/* rgb */ color: rgb(205, 86, 217);
/* oklch */ color: oklch(65.4% 0.216 323.9);
Tailwind
colors: {
  custom: {
    50: '#df8de5',
    500: '#cd56d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd56d9;
$custom-light: #df8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56d9",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 294.504,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.21558,
    "h": 323.9
  },
  "luminance": 0.24644
}

Semantic roles & 50–950 ramp

primary
#CD56D9
secondary
#B1DFAC
accent
#E64151
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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