#CD56E9#CD56E9

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

Color values

HEX#CD56E9
RGBrgb(205, 86, 233)
HSLhsl(289, 77%, 63%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(12%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.58, 67.31, -53.40)
CIE-LCHlch(57.58, 85.93, 321.57°)
OKLaboklab(66.33% 0.1747 -0.1492)
OKLCHoklch(66.33% 0.23 319.5)
XYZxyz(43.2107, 25.5199, 79.7247)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E9 #72E956
analogous
#8356E9 #CD56E9 #E956BC
triadic
#CD56E9 #E9CD56 #56E9CD
tetradic
#CD56E9 #E98356 #72E956 #56BCE9
square
#CD56E9 #E98356 #72E956 #56BCE9
split-complementary
#CD56E9 #BCE956 #56E983
monochromatic
#9117AE #BD20E2 #CD56E9 #DD8CF0 #EDC2F7

Accessibility & contrast

On white

3.44
#CD56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CD56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E9#FFFFFF#000000##000000
##CD56E91.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82ED
Deuteranopia (green-blind)
#618EE5
Tritanopia (blue-blind)
#CD6F98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd56e9;
/* rgb */ color: rgb(205, 86, 233);
/* oklch */ color: oklch(66.3% 0.230 319.5);
Tailwind
colors: {
  custom: {
    50: '#e08df1',
    500: '#cd56e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e9;
$custom-light: #e08df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e9",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 288.571,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6633,
    "c": 0.22973,
    "h": 319.5
  },
  "luminance": 0.25518
}

Semantic roles & 50–950 ramp

primary
#CD56E9
secondary
#BDE8B3
accent
#D90C33
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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