#CD56E2#CD56E2

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

Color values

HEX#CD56E2
RGBrgb(205, 86, 226)
HSLhsl(291, 71%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.3%, 61.9%, 0%, 11.4%)
CIE-LABlab(57.20, 66.02, -50.08)
CIE-LCHlch(57.20, 82.86, 322.82°)
OKLaboklab(65.93% 0.1746 -0.1395)
OKLCHoklch(65.93% 0.223 321.4)
XYZxyz(42.2306, 25.1278, 74.5625)
Luminance0.2513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E2 #6BE256
analogous
#8756E2 #CD56E2 #E256B1
triadic
#CD56E2 #E2CD56 #56E2CD
tetradic
#CD56E2 #E28756 #6BE256 #56B1E2
square
#CD56E2 #E28756 #6BE256 #56B1E2
split-complementary
#CD56E2 #B1E256 #56E287
monochromatic
#8E1CA2 #BB25D6 #CD56E2 #DC8AEB #ECBEF4

Accessibility & contrast

On white

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

On black

6.03
#CD56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E2#FFFFFF#000000##000000
##CD56E21.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#658EDE
Tritanopia (blue-blind)
#CF6C95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd56e2;
/* rgb */ color: rgb(205, 86, 226);
/* oklch */ color: oklch(65.9% 0.223 321.4);
Tailwind
colors: {
  custom: {
    50: '#e08dec',
    500: '#cd56e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e2;
$custom-light: #e08dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e2",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 291,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65934,
    "c": 0.22349,
    "h": 321.4
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#CD56E2
secondary
#B8E4B0
accent
#D31330
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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