#D287C2

A color in the Purple, Crimson, Magenta family

#d287c2 is a color in the Purple, Crimson, Magenta family: RGB(210, 135, 194), HSL(313°, 45%, 68%), CMYK(0%, 36%, 8%, 18%). Closest named color: orchid. Contrast is 2.63:1 on white and 7.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d287c2
RGBrgb(210 135 194)
RGB (legacy)rgb(210, 135, 194)
RGB %rgb(82% 53% 76%)
HSLhsl(313 45% 68%)
HSV / HSBhsv(313, 36%, 82%)
HWBhwb(313 53% 18%)
CMYKcmyk(0%, 36%, 8%, 18%)
CIELAB (D50)lab(65.73 35.98 -18.49)
LCHlch(65.73 40.45 332.8)
OKLaboklab(0.7191 0.1076 -0.0505)
OKLCHoklch(0.7191 0.1189 334.85)
Decimal13797314

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 6.7
Closest web-safe color#cc99cc
Hue313°
Saturation (HSL / HSV)45% / 36%
Lightness (HSL)68%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)64% / 61%
Relative luminance (WCAG)0.3492
Red / Green / Blue210 / 135 / 194

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.63:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.98: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 51.1 / -50.8 · As background with white / black text: Lc -56.2 / 52.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: #d287c2;
  --color-brand-oklch: oklch(71.91% 0.1189 334.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 135 194 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d287c2] text-[#d287c2] border-[#d287c2]">