#E407DC

A color in the Purple, Crimson, Magenta family

#e407dc is a color in the Purple, Crimson, Magenta family: RGB(228, 7, 220), HSL(302°, 94%, 46%), CMYK(0%, 97%, 4%, 11%). Closest named color: fuchsia. Contrast is 3.92:1 on white and 5.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e407dc
RGBrgb(228 7 220)
RGB (legacy)rgb(228, 7, 220)
RGB %rgb(89% 3% 86%)
HSLhsl(302 94% 46%)
HSV / HSBhsv(302, 97%, 89%)
HWBhwb(302 3% 11%)
CMYKcmyk(0%, 97%, 4%, 11%)
CIELAB (D50)lab(53.76 84.67 -51.42)
LCHlch(53.76 99.06 328.73)
OKLaboklab(0.6412 0.2516 -0.1436)
OKLCHoklch(0.6412 0.2897 330.28)
Decimal14944220

Properties

Color TonePurple, Crimson, Magenta
Closest named colorfuchsia ΔE 7
Closest web-safe color#cc00cc
Hue302°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)46%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)38% / 27%
Relative luminance (WCAG)0.2181
Red / Green / Blue228 / 7 / 220

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.92:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.36: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 64 / -37.6 · As background with white / black text: Lc -69.5 / 40

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: #e407dc;
  --color-brand-oklch: oklch(64.12% 0.2897 330.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 7 220 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e407dc] text-[#e407dc] border-[#e407dc]">