#D64FC2

A color in the Purple, Crimson, Magenta family

#d64fc2 is a color in the Purple, Crimson, Magenta family: RGB(214, 79, 194), HSL(309°, 62%, 57%), CMYK(0%, 63%, 9%, 16%). Closest named color: mediumorchid. Contrast is 3.65:1 on white and 5.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d64fc2
RGBrgb(214 79 194)
RGB (legacy)rgb(214, 79, 194)
RGB %rgb(84% 31% 76%)
HSLhsl(309 62% 57%)
HSV / HSBhsv(309, 63%, 84%)
HWBhwb(309 31% 16%)
CMYKcmyk(0%, 63%, 9%, 16%)
CIELAB (D50)lab(55.92 63.04 -33.39)
LCHlch(55.92 71.34 332.09)
OKLaboklab(0.6472 0.1903 -0.0925)
OKLCHoklch(0.6472 0.2116 334.07)
Decimal14045122

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.8
Closest web-safe color#cc66cc
Hue309°
Saturation (HSL / HSV)62% / 63%
Lightness (HSL)57%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)52% / 45%
Relative luminance (WCAG)0.2378
Red / Green / Blue214 / 79 / 194

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.76: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 63.2 / -38.5 · As background with white / black text: Lc -68.7 / 40.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: #d64fc2;
  --color-brand-oklch: oklch(64.72% 0.2116 334.07);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(214 79 194 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d64fc2] text-[#d64fc2] border-[#d64fc2]">