#CD56E5#CD56E5

#CD56E5 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.226 H 320.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CD56E5
RGBrgb(205, 86, 229)
HSLhsl(290, 73%, 62%)
HSVhsv(290, 62%, 90%)
CMYKcmyk(10.5%, 62.4%, 0%, 10.2%)
CIE-LABlab(57.36, 66.57, -51.51)
CIE-LCHlch(57.36, 84.17, 322.27°)
OKLaboklab(66.1% 0.1747 -0.1437)
OKLCHoklch(66.1% 0.226 320.6)
XYZxyz(42.6458, 25.2939, 76.7494)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E5 #6EE556
analogous
#8656E5 #CD56E5 #E556B6
triadic
#CD56E5 #E5CD56 #56E5CD
tetradic
#CD56E5 #E58656 #6EE556 #56B6E5
square
#CD56E5 #E58656 #6EE556 #56B6E5
split-complementary
#CD56E5 #B6E556 #56E586
monochromatic
#8F1AA7 #BD22DC #CD56E5 #DD8BED #ECC0F5

Accessibility & contrast

On white

3.47
#CD56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CD56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E5#FFFFFF#000000##000000
##CD56E51.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E9
Deuteranopia (green-blind)
#638EE1
Tritanopia (blue-blind)
#CE6D96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd56e5;
/* rgb */ color: rgb(205, 86, 229);
/* oklch */ color: oklch(66.1% 0.226 320.6);
Tailwind
colors: {
  custom: {
    50: '#e08dee',
    500: '#cd56e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e5;
$custom-light: #e08dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e5",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 289.93,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.22615,
    "h": 320.6
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#CD56E5
secondary
#BAE6B1
accent
#D51031
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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