#D8A2DF

A color in the Purple, Crimson, Magenta family

#d8a2df is a color in the Purple, Crimson, Magenta family: RGB(216, 162, 223), HSL(293°, 49%, 75%), CMYK(3%, 27%, 0%, 13%). Closest named color: plum. Contrast is 2.07:1 on white and 10.15:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d8a2df
RGBrgb(216 162 223)
RGB (legacy)rgb(216, 162, 223)
RGB %rgb(85% 64% 87%)
HSLhsl(293 49% 75%)
HSV / HSBhsv(293, 27%, 87%)
HWBhwb(293 64% 13%)
CMYKcmyk(3%, 27%, 0%, 13%)
CIELAB (D50)lab(73.32 28.19 -22.96)
LCHlch(73.32 36.36 320.83)
OKLaboklab(0.7825 0.0818 -0.0626)
OKLCHoklch(0.7825 0.103 322.6)
Decimal14197471

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 0.9
Closest web-safe color#cc99cc
Hue293°
Saturation (HSL / HSV)49% / 27%
Lightness (HSL)75%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)73% / 70%
Relative luminance (WCAG)0.4577
Red / Green / Blue216 / 162 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.15: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 40.3 / -62 · As background with white / black text: Lc -44.9 / 63.6

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: #d8a2df;
  --color-brand-oklch: oklch(78.25% 0.103 322.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 162 223 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8a2df] text-[#d8a2df] border-[#d8a2df]">