#CD5DE4#CD5DE4

#CD5DE4 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.216 H 320.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE4
RGBrgb(205, 93, 228)
HSLhsl(290, 71%, 63%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(10.1%, 59.2%, 0%, 10.6%)
CIE-LABlab(58.43, 63.31, -49.26)
CIE-LCHlch(58.43, 80.22, 322.12°)
OKLaboklab(66.86% 0.1664 -0.1372)
OKLCHoklch(66.86% 0.216 320.5)
XYZxyz(43.0931, 26.4113, 76.2117)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE4 #74E45D
analogous
#895DE4 #CD5DE4 #E45DB7
triadic
#CD5DE4 #E4CD5D #5DE4CD
tetradic
#CD5DE4 #E4895D #74E45D #5DB7E4
square
#CD5DE4 #E4895D #74E45D #5DB7E4
split-complementary
#CD5DE4 #B7E45D #5DE489
monochromatic
#921CAA #BD29DB #CD5DE4 #DD91ED #EDC6F5

Accessibility & contrast

On white

3.34
#CD5DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CD5DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE4#FFFFFF#000000##000000
##CD5DE41.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#6991E0
Tritanopia (blue-blind)
#CE7298
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5de4;
/* rgb */ color: rgb(205, 93, 228);
/* oklch */ color: oklch(66.9% 0.216 320.5);
Tailwind
colors: {
  custom: {
    50: '#df91ed',
    500: '#cd5de4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de4;
$custom-light: #df91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de4",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 289.778,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.21563,
    "h": 320.5
  },
  "luminance": 0.26409
}

Semantic roles & 50–950 ramp

primary
#CD5DE4
secondary
#BEE7B6
accent
#D31233
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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