#D24EF2

A color in the Purple, Crimson, Magenta family

#d24ef2 is a color in the Purple, Crimson, Magenta family: RGB(210, 78, 242), HSL(288°, 86%, 63%), CMYK(13%, 68%, 0%, 5%). Closest named color: mediumorchid. Contrast is 3.44:1 on white and 6.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d24ef2
RGBrgb(210 78 242)
RGB (legacy)rgb(210, 78, 242)
RGB %rgb(82% 31% 95%)
HSLhsl(288 86% 63%)
HSV / HSBhsv(288, 68%, 95%)
HWBhwb(288 31% 5%)
CMYKcmyk(13%, 68%, 0%, 5%)
CIELAB (D50)lab(57.25 68.43 -58.45)
LCHlch(57.25 90 319.49)
OKLaboklab(0.6666 0.1888 -0.1634)
OKLCHoklch(0.6666 0.2497 319.13)
Decimal13782770

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.3
Closest web-safe color#cc66ff
Hue288°
Saturation (HSL / HSV)86% / 68%
Lightness (HSL)63%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)53% / 46%
Relative luminance (WCAG)0.2556
Red / Green / Blue210 / 78 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.11: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 60.9 / -40.8 · As background with white / black text: Lc -66.4 / 43.2

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: #d24ef2;
  --color-brand-oklch: oklch(66.66% 0.2497 319.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 78 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d24ef2] text-[#d24ef2] border-[#d24ef2]">