#CD56D7#CD56D7

#CD56D7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.214 H 324.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CD56D7
RGBrgb(205, 86, 215)
HSLhsl(295, 62%, 59%)
HSVhsv(295, 60%, 84%)
CMYKcmyk(4.7%, 60%, 0%, 15.7%)
CIE-LABlab(56.63, 64.03, -44.78)
CIE-LCHlch(56.63, 78.14, 325.03°)
OKLaboklab(65.33% 0.1741 -0.1241)
OKLCHoklch(65.33% 0.214 324.5)
XYZxyz(40.7693, 24.5433, 66.8667)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56D7 #60D756
analogous
#8D56D7 #CD56D7 #D756A1
triadic
#CD56D7 #D7CD56 #56D7CD
tetradic
#CD56D7 #D78D56 #60D756 #56A1D7
square
#CD56D7 #D78D56 #60D756 #56A1D7
split-complementary
#CD56D7 #A1D756 #56D78D
monochromatic
#882290 #B62EC2 #CD56D7 #DC87E3 #EAB9EE

Accessibility & contrast

On white

3.55
#CD56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CD56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56D7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56D7#FFFFFF#000000##000000
##CD56D71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDB
Deuteranopia (green-blind)
#6C8DD4
Tritanopia (blue-blind)
#D1688F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd56d7;
/* rgb */ color: rgb(205, 86, 215);
/* oklch */ color: oklch(65.3% 0.214 324.5);
Tailwind
colors: {
  custom: {
    50: '#df8de4',
    500: '#cd56d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd56d7;
$custom-light: #df8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56d7",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 295.349,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65333,
    "c": 0.21384,
    "h": 324.5
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

primary
#CD56D7
secondary
#AFDEAB
accent
#E54350
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CD56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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