#D31EDA

A color in the Purple, Crimson, Magenta family

#d31eda is a color in the Purple, Crimson, Magenta family: RGB(211, 30, 218), HSL(298°, 76%, 49%), CMYK(3%, 86%, 0%, 15%). Closest named color: mediumorchid. Contrast is 4.23:1 on white and 4.97:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d31eda
RGBrgb(211 30 218)
RGB (legacy)rgb(211, 30, 218)
RGB %rgb(83% 12% 85%)
HSLhsl(298 76% 49%)
HSV / HSBhsv(298, 86%, 85%)
HWBhwb(298 12% 15%)
CMYKcmyk(3%, 86%, 0%, 15%)
CIELAB (D50)lab(51.47 78.76 -54.15)
LCHlch(51.47 95.58 325.49)
OKLaboklab(0.6201 0.2283 -0.1514)
OKLCHoklch(0.6201 0.274 326.45)
Decimal13835994

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 7.8
Closest web-safe color#cc33cc
Hue298°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)49%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)41% / 32%
Relative luminance (WCAG)0.1984
Red / Green / Blue211 / 30 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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 67.2 / -34.4 · As background with white / black text: Lc -72.7 / 36.9

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: #d31eda;
  --color-brand-oklch: oklch(62.01% 0.274 326.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(211 30 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d31eda] text-[#d31eda] border-[#d31eda]">