#CD56E8#CD56E8

#CD56E8 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.229 H 319.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD56E8
RGBrgb(205, 86, 232)
HSLhsl(289, 76%, 62%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.6%, 62.9%, 0%, 9%)
CIE-LABlab(57.52, 67.13, -52.93)
CIE-LCHlch(57.52, 85.49, 321.74°)
OKLaboklab(66.27% 0.1747 -0.1478)
OKLCHoklch(66.27% 0.229 319.8)
XYZxyz(43.0683, 25.4629, 78.9745)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E8 #71E856
analogous
#8456E8 #CD56E8 #E856BA
triadic
#CD56E8 #E8CD56 #56E8CD
tetradic
#CD56E8 #E88456 #71E856 #56BAE8
square
#CD56E8 #E88456 #71E856 #56BAE8
split-complementary
#CD56E8 #BAE856 #56E884
monochromatic
#9117AC #BD20E1 #CD56E8 #DD8CEF #EDC2F7

Accessibility & contrast

On white

3.45
#CD56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CD56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E8#FFFFFF#000000##000000
##CD56E81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82EC
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#CE6F98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd56e8;
/* rgb */ color: rgb(205, 86, 232);
/* oklch */ color: oklch(66.3% 0.229 319.8);
Tailwind
colors: {
  custom: {
    50: '#e08df0',
    500: '#cd56e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e8;
$custom-light: #e08df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e8",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 288.904,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66273,
    "c": 0.22883,
    "h": 319.8
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#CD56E8
secondary
#BCE8B2
accent
#D80D33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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