#D030D5

A color in the Purple, Crimson, Magenta family

#d030d5 is a color in the Purple, Crimson, Magenta family: RGB(208, 48, 213), HSL(298°, 66%, 51%), CMYK(2%, 77%, 0%, 16%). Closest named color: mediumorchid. Contrast is 4.15:1 on white and 5.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d030d5
RGBrgb(208 48 213)
RGB (legacy)rgb(208, 48, 213)
RGB %rgb(82% 19% 84%)
HSLhsl(298 66% 51%)
HSV / HSBhsv(298, 77%, 84%)
HWBhwb(298 19% 16%)
CMYKcmyk(2%, 77%, 0%, 16%)
CIELAB (D50)lab(52.05 73.79 -50.42)
LCHlch(52.05 89.37 325.66)
OKLaboklab(0.6221 0.2148 -0.1408)
OKLCHoklch(0.6221 0.2568 326.76)
Decimal13643989

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.2
Closest web-safe color#cc33cc
Hue298°
Saturation (HSL / HSV)66% / 77%
Lightness (HSL)51%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)45% / 37%
Relative luminance (WCAG)0.2033
Red / Green / Blue208 / 48 / 213

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.07: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 / -34.6 · As background with white / black text: Lc -72.5 / 37.1

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: #d030d5;
  --color-brand-oklch: oklch(62.21% 0.2568 326.76);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(208 48 213 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d030d5] text-[#d030d5] border-[#d030d5]">