#CD5DE5#CD5DE5

#CD5DE5 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.217 H 320.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE5
RGBrgb(205, 93, 229)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(10.5%, 59.4%, 0%, 10.2%)
CIE-LABlab(58.48, 63.50, -49.73)
CIE-LCHlch(58.48, 80.66, 321.93°)
OKLaboklab(66.91% 0.1664 -0.1385)
OKLCHoklch(66.91% 0.217 320.2)
XYZxyz(43.2323, 26.4669, 76.9449)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE5 #75E55D
analogous
#895DE5 #CD5DE5 #E55DB9
triadic
#CD5DE5 #E5CD5D #5DE5CD
tetradic
#CD5DE5 #E5895D #75E55D #5DB9E5
square
#CD5DE5 #E5895D #75E55D #5DB9E5
split-complementary
#CD5DE5 #B9E55D #5DE589
monochromatic
#931CAC #BD28DD #CD5DE5 #DD92ED #EEC6F6

Accessibility & contrast

On white

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

On black

6.29
#CD5DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE5#FFFFFF#000000##000000
##CD5DE51.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#6891E1
Tritanopia (blue-blind)
#CE7299
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5de5;
/* rgb */ color: rgb(205, 93, 229);
/* oklch */ color: oklch(66.9% 0.217 320.2);
Tailwind
colors: {
  custom: {
    50: '#df91ee',
    500: '#cd5de5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de5;
$custom-light: #df91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de5",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 289.412,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.21654,
    "h": 320.2
  },
  "luminance": 0.26465
}

Semantic roles & 50–950 ramp

primary
#CD5DE5
secondary
#BFE7B7
accent
#D41134
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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