#CD56C7#CD56C7

#CD56C7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.5% C 0.200 H 329.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CD56C7
RGBrgb(205, 86, 199)
HSLhsl(303, 54%, 57%)
HSVhsv(303, 58%, 80%)
CMYKcmyk(0%, 58%, 2.9%, 19.6%)
CIE-LABlab(55.85, 61.26, -36.90)
CIE-LCHlch(55.85, 71.52, 328.94°)
OKLaboklab(64.51% 0.1728 -0.1013)
OKLCHoklch(64.51% 0.2 329.6)
XYZxyz(38.8131, 23.7608, 56.5637)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56C7 #56CD5C
analogous
#9856CD #CD56C7 #CD568C
triadic
#CD56C7 #C7CD56 #56C7CD
tetradic
#CD56C7 #CD9856 #56CD5C #568CCD
square
#CD56C7 #CD9856 #56CD5C #568CCD
split-complementary
#CD56C7 #8CCD56 #56CD98
monochromatic
#82267D #B134AB #CD56C7 #DB85D7 #E9B4E6

Accessibility & contrast

On white

3.65
#CD56C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CD56C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56C7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56C7#FFFFFF#000000##000000
##CD56C71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BCB
Deuteranopia (green-blind)
#748CC4
Tritanopia (blue-blind)
#D46287
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd56c7;
/* rgb */ color: rgb(205, 86, 199);
/* oklch */ color: oklch(64.5% 0.200 329.6);
Tailwind
colors: {
  custom: {
    50: '#df8cd8',
    500: '#cd56c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd56c7;
$custom-light: #df8cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56c7",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 303.025,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.20029,
    "h": 329.6
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

primary
#CD56C7
secondary
#A7D8AA
accent
#DE524A
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CD56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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