#CD56DC#CD56DC

#CD56DC is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.218 H 323.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CD56DC
RGBrgb(205, 86, 220)
HSLhsl(293, 66%, 60%)
HSVhsv(293, 61%, 86%)
CMYKcmyk(6.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(56.88, 64.93, -47.20)
CIE-LCHlch(56.88, 80.27, 323.98°)
OKLaboklab(65.6% 0.1744 -0.1311)
OKLCHoklch(65.6% 0.218 323.1)
XYZxyz(41.4216, 24.8042, 70.3022)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56DC #65DC56
analogous
#8A56DC #CD56DC #DC56A8
triadic
#CD56DC #DCCD56 #56DCCD
tetradic
#CD56DC #DC8A56 #65DC56 #56A8DC
square
#CD56DC #DC8A56 #65DC56 #56A8DC
split-complementary
#CD56DC #A8DC56 #56DC8A
monochromatic
#8B2098 #B92ACB #CD56DC #DC89E6 #EBBBF1

Accessibility & contrast

On white

3.52
#CD56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CD56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56DC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56DC#FFFFFF#000000##000000
##CD56DC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E0
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#D06A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd56dc;
/* rgb */ color: rgb(205, 86, 220);
/* oklch */ color: oklch(65.6% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#df8de7',
    500: '#cd56dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd56dc;
$custom-light: #df8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56dc",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 293.284,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.2182,
    "h": 323.1
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#CD56DC
secondary
#B3E1AD
accent
#E93F52
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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