#CD56D2#CD56D2

#CD56D2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.210 H 326.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CD56D2
RGBrgb(205, 86, 210)
HSLhsl(298, 58%, 58%)
HSVhsv(298, 59%, 82%)
CMYKcmyk(2.4%, 59%, 0%, 17.6%)
CIE-LABlab(56.38, 63.15, -42.34)
CIE-LCHlch(56.38, 76.03, 326.16°)
OKLaboklab(65.07% 0.1738 -0.117)
OKLCHoklch(65.07% 0.21 326)
XYZxyz(40.1367, 24.2903, 63.5347)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56D2 #5BD256
analogous
#8F56D2 #CD56D2 #D25699
triadic
#CD56D2 #D2CD56 #56D2CD
tetradic
#CD56D2 #D28F56 #5BD256 #5699D2
square
#CD56D2 #D28F56 #5BD256 #5699D2
split-complementary
#CD56D2 #99D256 #56D28F
monochromatic
#852589 #B431B9 #CD56D2 #DB86DF #EAB7EC

Accessibility & contrast

On white

3.59
#CD56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CD56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56D2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56D2#FFFFFF#000000##000000
##CD56D21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#D2668C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd56d2;
/* rgb */ color: rgb(205, 86, 210);
/* oklch */ color: oklch(65.1% 0.210 326.0);
Tailwind
colors: {
  custom: {
    50: '#df8ce0',
    500: '#cd56d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd56d2;
$custom-light: #df8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56d2",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 297.581,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.20953,
    "h": 326
  },
  "luminance": 0.24288
}

Semantic roles & 50–950 ramp

primary
#CD56D2
secondary
#ABDBA9
accent
#E1474D
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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