#CD56F0#CD56F0

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

Color values

HEX#CD56F0
RGBrgb(205, 86, 240)
HSLhsl(286, 84%, 64%)
HSVhsv(286, 64%, 94%)
CMYKcmyk(14.6%, 64.2%, 0%, 5.9%)
CIE-LABlab(57.97, 68.63, -56.69)
CIE-LCHlch(57.97, 89.02, 320.44°)
OKLaboklab(66.74% 0.1746 -0.1588)
OKLCHoklch(66.74% 0.236 317.7)
XYZxyz(44.2306, 25.9278, 85.0959)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56F0 #79F056
analogous
#8056F0 #CD56F0 #F056C6
triadic
#CD56F0 #F0CD56 #56F0CD
tetradic
#CD56F0 #F08056 #79F056 #56C6F0
square
#CD56F0 #F08056 #79F056 #56C6F0
split-complementary
#CD56F0 #C6F056 #56F080
monochromatic
#9411BB #BC1EEB #CD56F0 #DE8EF5 #EEC6FA

Accessibility & contrast

On white

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

On black

6.19
#CD56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56F0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56F0#FFFFFF#000000##000000
##CD56F01.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D84F5
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#CC729C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd56f0;
/* rgb */ color: rgb(205, 86, 240);
/* oklch */ color: oklch(66.7% 0.236 317.7);
Tailwind
colors: {
  custom: {
    50: '#e08df6',
    500: '#cd56f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd56f0;
$custom-light: #e08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56f0",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 286.364,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.23602,
    "h": 317.7
  },
  "luminance": 0.25926
}

Semantic roles & 50–950 ramp

primary
#CD56F0
secondary
#C2ECB6
accent
#E00537
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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