#CD56F2#CD56F2

#CD56F2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.9% C 0.238 H 317.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CD56F2
RGBrgb(205, 86, 242)
HSLhsl(286, 86%, 64%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(15.3%, 64.5%, 0%, 5.1%)
CIE-LABlab(58.08, 69.02, -57.63)
CIE-LCHlch(58.08, 89.91, 320.14°)
OKLaboklab(66.86% 0.1746 -0.1615)
OKLCHoklch(66.86% 0.238 317.2)
XYZxyz(44.5293, 26.0473, 86.6692)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56F2 #7BF256
analogous
#7F56F2 #CD56F2 #F256C9
triadic
#CD56F2 #F2CD56 #56F2CD
tetradic
#CD56F2 #F27F56 #7BF256 #56C9F2
square
#CD56F2 #F27F56 #7BF256 #56C9F2
split-complementary
#CD56F2 #C9F256 #56F27F
monochromatic
#950FBF #BC1DEE #CD56F2 #DE8FF6 #EFC8FB

Accessibility & contrast

On white

3.38
#CD56F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CD56F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56F2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56F2#FFFFFF#000000##000000
##CD56F21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#CC729D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd56f2;
/* rgb */ color: rgb(205, 86, 242);
/* oklch */ color: oklch(66.9% 0.238 317.2);
Tailwind
colors: {
  custom: {
    50: '#e08df7',
    500: '#cd56f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd56f2;
$custom-light: #e08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56f2",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 285.769,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.23783,
    "h": 317.2
  },
  "luminance": 0.26046
}

Semantic roles & 50–950 ramp

primary
#CD56F2
secondary
#C4EDB7
accent
#E20338
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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