#CD56E1#CD56E1

#CD56E1 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.223 H 321.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CD56E1
RGBrgb(205, 86, 225)
HSLhsl(291, 70%, 61%)
HSVhsv(291, 62%, 88%)
CMYKcmyk(8.9%, 61.8%, 0%, 11.8%)
CIE-LABlab(57.15, 65.83, -49.60)
CIE-LCHlch(57.15, 82.43, 323.00°)
OKLaboklab(65.88% 0.1746 -0.1381)
OKLCHoklch(65.88% 0.223 321.7)
XYZxyz(42.0937, 25.0731, 73.8419)
Luminance0.2507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E1 #6AE156
analogous
#8756E1 #CD56E1 #E156AF
triadic
#CD56E1 #E1CD56 #56E1CD
tetradic
#CD56E1 #E18756 #6AE156 #56AFE1
square
#CD56E1 #E18756 #6AE156 #56AFE1
split-complementary
#CD56E1 #AFE156 #56E187
monochromatic
#8D1CA0 #BB26D4 #CD56E1 #DC8AEA #ECBEF3

Accessibility & contrast

On white

3.49
#CD56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CD56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E1#FFFFFF#000000##000000
##CD56E11.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E5
Deuteranopia (green-blind)
#668EDD
Tritanopia (blue-blind)
#CF6C94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd56e1;
/* rgb */ color: rgb(205, 86, 225);
/* oklch */ color: oklch(65.9% 0.223 321.7);
Tailwind
colors: {
  custom: {
    50: '#df8deb',
    500: '#cd56e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e1;
$custom-light: #df8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e1",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 291.367,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.2226,
    "h": 321.7
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#CD56E1
secondary
#B7E4AF
accent
#D2142F
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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