#CD56EF#CD56EF

#CD56EF is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.235 H 318.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CD56EF
RGBrgb(205, 86, 239)
HSLhsl(287, 83%, 64%)
HSVhsv(287, 64%, 94%)
CMYKcmyk(14.2%, 64%, 0%, 6.3%)
CIE-LABlab(57.91, 68.44, -56.22)
CIE-LCHlch(57.91, 88.58, 320.60°)
OKLaboklab(66.68% 0.1746 -0.1574)
OKLCHoklch(66.68% 0.235 318)
XYZxyz(44.0824, 25.8686, 84.3157)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56EF #78EF56
analogous
#8056EF #CD56EF #EF56C4
triadic
#CD56EF #EFCD56 #56EFCD
tetradic
#CD56EF #EF8056 #78EF56 #56C4EF
square
#CD56EF #EF8056 #78EF56 #56C4EF
split-complementary
#CD56EF #C4EF56 #56EF80
monochromatic
#9412B9 #BC1EEA #CD56EF #DE8EF4 #EEC6FA

Accessibility & contrast

On white

3.40
#CD56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CD56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56EF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56EF#FFFFFF#000000##000000
##CD56EF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F4
Deuteranopia (green-blind)
#5C8FEB
Tritanopia (blue-blind)
#CC719B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd56ef;
/* rgb */ color: rgb(205, 86, 239);
/* oklch */ color: oklch(66.7% 0.235 318.0);
Tailwind
colors: {
  custom: {
    50: '#e08df5',
    500: '#cd56ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd56ef;
$custom-light: #e08df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56ef",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 286.667,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.23512,
    "h": 318
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#CD56EF
secondary
#C1EBB5
accent
#DF0637
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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