#D478DD

A color in the Purple, Crimson, Magenta family

#d478dd is a color in the Purple, Crimson, Magenta family: RGB(212, 120, 221), HSL(295°, 60%, 67%), CMYK(4%, 46%, 0%, 13%). Closest named color: orchid. Contrast is 2.79:1 on white and 7.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d478dd
RGBrgb(212 120 221)
RGB (legacy)rgb(212, 120, 221)
RGB %rgb(83% 47% 87%)
HSLhsl(295 60% 67%)
HSV / HSBhsv(295, 46%, 87%)
HWBhwb(295 47% 13%)
CMYKcmyk(4%, 46%, 0%, 13%)
CIELAB (D50)lab(63.75 47.74 -36.54)
LCHlch(63.75 60.12 322.57)
OKLaboklab(0.7095 0.1382 -0.1009)
OKLCHoklch(0.7095 0.1711 323.86)
Decimal13924573

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 1.9
Closest web-safe color#cc66cc
Hue295°
Saturation (HSL / HSV)60% / 46%
Lightness (HSL)67%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)62% / 58%
Relative luminance (WCAG)0.3265
Red / Green / Blue212 / 120 / 221

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 53.4 / -48.5 · As background with white / black text: Lc -58.6 / 50.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: #d478dd;
  --color-brand-oklch: oklch(70.95% 0.1711 323.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(212 120 221 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d478dd] text-[#d478dd] border-[#d478dd]">