#CD56DF#CD56DF

#CD56DF is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.221 H 322.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CD56DF
RGBrgb(205, 86, 223)
HSLhsl(292, 68%, 61%)
HSVhsv(292, 61%, 87%)
CMYKcmyk(8.1%, 61.4%, 0%, 12.5%)
CIE-LABlab(57.04, 65.47, -48.64)
CIE-LCHlch(57.04, 81.56, 323.39°)
OKLaboklab(65.77% 0.1745 -0.1353)
OKLCHoklch(65.77% 0.221 322.2)
XYZxyz(41.8225, 24.9646, 72.4134)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56DF #68DF56
analogous
#8856DF #CD56DF #DF56AC
triadic
#CD56DF #DFCD56 #56DFCD
tetradic
#CD56DF #DF8856 #68DF56 #56ACDF
square
#CD56DF #DF8856 #68DF56 #56ACDF
split-complementary
#CD56DF #ACDF56 #56DF88
monochromatic
#8C1E9D #BA27D0 #CD56DF #DC89E9 #EBBDF2

Accessibility & contrast

On white

3.50
#CD56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CD56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56DF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56DF#FFFFFF#000000##000000
##CD56DF1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#678EDB
Tritanopia (blue-blind)
#D06B93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd56df;
/* rgb */ color: rgb(205, 86, 223);
/* oklch */ color: oklch(65.8% 0.221 322.2);
Tailwind
colors: {
  custom: {
    50: '#df8de9',
    500: '#cd56df',
    950: '#000000',
  },
}
SCSS
$custom: #cd56df;
$custom-light: #df8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56df",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 292.117,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65767,
    "c": 0.22083,
    "h": 322.2
  },
  "luminance": 0.24962
}

Semantic roles & 50–950 ramp

primary
#CD56DF
secondary
#B5E2AE
accent
#D0152E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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