#CD56C2#CD56C2

#CD56C2 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.3% C 0.196 H 331.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD56C2
RGBrgb(205, 86, 194)
HSLhsl(306, 54%, 57%)
HSVhsv(306, 58%, 80%)
CMYKcmyk(0%, 58%, 5.4%, 19.6%)
CIE-LABlab(55.62, 60.43, -34.40)
CIE-LCHlch(55.62, 69.54, 330.35°)
OKLaboklab(64.27% 0.1722 -0.0942)
OKLCHoklch(64.27% 0.196 331.3)
XYZxyz(38.2421, 23.5324, 53.5565)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56C2 #56CD61
analogous
#9C56CD #CD56C2 #CD5687
triadic
#CD56C2 #C2CD56 #56C2CD
tetradic
#CD56C2 #CD9C56 #56CD61 #5687CD
square
#CD56C2 #CD9C56 #56CD61 #5687CD
split-complementary
#CD56C2 #87CD56 #56CD9C
monochromatic
#82267A #B134A6 #CD56C2 #DB85D3 #E9B4E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD56C2#FFFFFF#000000##000000
##CD56C21.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)
#507BC5
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#D56184
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd56c2;
/* rgb */ color: rgb(205, 86, 194);
/* oklch */ color: oklch(64.3% 0.196 331.3);
Tailwind
colors: {
  custom: {
    50: '#df8cd5',
    500: '#cd56c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd56c2;
$custom-light: #df8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56c2",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 305.546,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.19622,
    "h": 331.3
  },
  "luminance": 0.2353
}

Semantic roles & 50–950 ramp

primary
#CD56C2
secondary
#A7D8AC
accent
#DE584A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CD56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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