#CD56E6#CD56E6

#CD56E6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.227 H 320.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CD56E6
RGBrgb(205, 86, 230)
HSLhsl(290, 74%, 62%)
HSVhsv(290, 63%, 90%)
CMYKcmyk(10.9%, 62.6%, 0%, 9.8%)
CIE-LABlab(57.41, 66.76, -51.98)
CIE-LCHlch(57.41, 84.61, 322.09°)
OKLaboklab(66.16% 0.1747 -0.1451)
OKLCHoklch(66.16% 0.227 320.3)
XYZxyz(42.7858, 25.3499, 77.4869)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E6 #6FE656
analogous
#8556E6 #CD56E6 #E656B7
triadic
#CD56E6 #E6CD56 #56E6CD
tetradic
#CD56E6 #E68556 #6FE656 #56B7E6
square
#CD56E6 #E68556 #6FE656 #56B7E6
split-complementary
#CD56E6 #B7E656 #56E685
monochromatic
#9019A9 #BD21DE #CD56E6 #DD8BEE #EDC1F6

Accessibility & contrast

On white

3.46
#CD56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CD56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E6#FFFFFF#000000##000000
##CD56E61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EA
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#CE6E97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd56e6;
/* rgb */ color: rgb(205, 86, 230);
/* oklch */ color: oklch(66.2% 0.227 320.3);
Tailwind
colors: {
  custom: {
    50: '#e08dee',
    500: '#cd56e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e6;
$custom-light: #e08dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e6",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 289.583,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66159,
    "c": 0.22704,
    "h": 320.3
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

primary
#CD56E6
secondary
#BBE6B1
accent
#D60F32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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