#CD5DFD

A color in the Purple, Crimson, Magenta family

#cd5dfd is a color in the Purple, Crimson, Magenta family: RGB(205, 93, 253), HSL(282°, 98%, 68%), CMYK(19%, 63%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.19:1 on white and 6.58:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cd5dfd
RGBrgb(205 93 253)
RGB (legacy)rgb(205, 93, 253)
RGB %rgb(80% 36% 99%)
HSLhsl(282 98% 68%)
HSV / HSBhsv(282, 63%, 99%)
HWBhwb(282 36% 1%)
CMYKcmyk(19%, 63%, 0%, 1%)
CIELAB (D50)lab(59.33 62.82 -61.29)
LCHlch(59.33 87.77 315.71)
OKLaboklab(0.683 0.1665 -0.1714)
OKLCHoklch(0.683 0.2389 314.17)
Decimal13458941

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.1
Closest web-safe color#cc66ff
Hue282°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)57% / 50%
Relative luminance (WCAG)0.279
Red / Green / Blue205 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 58.4 / -43.4 · As background with white / black text: Lc -63.8 / 45.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cd5dfd;
  --color-brand-oklch: oklch(68.3% 0.2389 314.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cd5dfd] text-[#cd5dfd] border-[#cd5dfd]">