#CD56D4#CD56D4

#CD56D4 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.211 H 325.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CD56D4
RGBrgb(205, 86, 212)
HSLhsl(297, 59%, 58%)
HSVhsv(297, 59%, 83%)
CMYKcmyk(3.3%, 59.4%, 0%, 16.9%)
CIE-LABlab(56.48, 63.50, -43.32)
CIE-LCHlch(56.48, 76.87, 325.70°)
OKLaboklab(65.17% 0.174 -0.1199)
OKLCHoklch(65.17% 0.211 325.4)
XYZxyz(40.3874, 24.3905, 64.8551)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56D4 #5DD456
analogous
#8E56D4 #CD56D4 #D4569C
triadic
#CD56D4 #D4CD56 #56D4CD
tetradic
#CD56D4 #D48E56 #5DD456 #569CD4
square
#CD56D4 #D48E56 #5DD456 #569CD4
split-complementary
#CD56D4 #9CD456 #56D48E
monochromatic
#86248C #B530BD #CD56D4 #DB87E0 #EAB8ED

Accessibility & contrast

On white

3.57
#CD56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CD56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56D4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56D4#FFFFFF#000000##000000
##CD56D41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ED8
Deuteranopia (green-blind)
#6D8DD1
Tritanopia (blue-blind)
#D2678D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd56d4;
/* rgb */ color: rgb(205, 86, 212);
/* oklch */ color: oklch(65.2% 0.211 325.4);
Tailwind
colors: {
  custom: {
    50: '#df8ce2',
    500: '#cd56d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd56d4;
$custom-light: #df8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56d4",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 296.667,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65174,
    "c": 0.21125,
    "h": 325.4
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#CD56D4
secondary
#ADDCAA
accent
#E3454E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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