#D13DFD

A color in the Purple, Crimson, Magenta family

#d13dfd is a color in the Purple, Crimson, Magenta family: RGB(209, 61, 253), HSL(286°, 98%, 62%), CMYK(17%, 76%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.62:1 on white and 5.8:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d13dfd
RGBrgb(209 61 253)
RGB (legacy)rgb(209, 61, 253)
RGB %rgb(82% 24% 99%)
HSLhsl(286 98% 62%)
HSV / HSBhsv(286, 76%, 99%)
HWBhwb(286 24% 1%)
CMYKcmyk(17%, 76%, 0%, 1%)
CIELAB (D50)lab(55.57 75.43 -67.27)
LCHlch(55.57 101.07 318.28)
OKLaboklab(0.6575 0.202 -0.1885)
OKLCHoklch(0.6575 0.2763 316.97)
Decimal13712893

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 8.1
Closest web-safe color#cc33ff
Hue286°
Saturation (HSL / HSV)98% / 76%
Lightness (HSL)62%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)50% / 42%
Relative luminance (WCAG)0.2398
Red / Green / Blue209 / 61 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.62:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.80: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 62.5 / -39.2 · As background with white / black text: Lc -68 / 41.6

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: #d13dfd;
  --color-brand-oklch: oklch(65.75% 0.2763 316.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(209 61 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d13dfd] text-[#d13dfd] border-[#d13dfd]">