#D8AEF2

A color in the Purple, Crimson, Magenta family

#d8aef2 is a color in the Purple, Crimson, Magenta family: RGB(216, 174, 242), HSL(277°, 72%, 82%), CMYK(11%, 28%, 0%, 5%). Closest named color: plum. Contrast is 1.87:1 on white and 11.26:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d8aef2
RGBrgb(216 174 242)
RGB (legacy)rgb(216, 174, 242)
RGB %rgb(85% 68% 95%)
HSLhsl(277 72% 82%)
HSV / HSBhsv(277, 28%, 95%)
HWBhwb(277 68% 5%)
CMYKcmyk(11%, 28%, 0%, 5%)
CIELAB (D50)lab(76.68 24.86 -28.15)
LCHlch(76.68 37.56 311.46)
OKLaboklab(0.8112 0.0695 -0.0768)
OKLCHoklch(0.8112 0.1036 312.15)
Decimal14200562

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 3.9
Closest web-safe color#cc99ff
Hue277°
Saturation (HSL / HSV)72% / 28%
Lightness (HSL)82%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)76% / 74%
Relative luminance (WCAG)0.5128
Red / Green / Blue216 / 174 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.87:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.26: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 35.2 / -67.3 · As background with white / black text: Lc -39.4 / 68.7

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: #d8aef2;
  --color-brand-oklch: oklch(81.12% 0.1036 312.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(216 174 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d8aef2] text-[#d8aef2] border-[#d8aef2]">