#CD56C4#CD56C4

#CD56C4 is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.4% C 0.198 H 330.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CD56C4
RGBrgb(205, 86, 196)
HSLhsl(305, 54%, 57%)
HSVhsv(305, 58%, 80%)
CMYKcmyk(0%, 58%, 4.4%, 19.6%)
CIE-LABlab(55.71, 60.76, -35.40)
CIE-LCHlch(55.71, 70.32, 329.77°)
OKLaboklab(64.36% 0.1724 -0.097)
OKLCHoklch(64.36% 0.198 330.6)
XYZxyz(38.4682, 23.6229, 54.7474)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56C4 #56CD5F
analogous
#9B56CD #CD56C4 #CD5689
triadic
#CD56C4 #C4CD56 #56C4CD
tetradic
#CD56C4 #CD9B56 #56CD5F #5689CD
square
#CD56C4 #CD9B56 #56CD5F #5689CD
split-complementary
#CD56C4 #89CD56 #56CD9B
monochromatic
#82267B #B134A8 #CD56C4 #DB85D4 #E9B4E5

Accessibility & contrast

On white

3.67
#CD56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CD56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56C4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56C4#FFFFFF#000000##000000
##CD56C41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#D46185
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd56c4;
/* rgb */ color: rgb(205, 86, 196);
/* oklch */ color: oklch(64.4% 0.198 330.6);
Tailwind
colors: {
  custom: {
    50: '#df8cd6',
    500: '#cd56c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd56c4;
$custom-light: #df8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56c4",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 304.538,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.19784,
    "h": 330.6
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

primary
#CD56C4
secondary
#A7D8AB
accent
#DE554A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CD56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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