#DDAFFC

A color in the Purple, Crimson, Magenta family

#ddaffc is a color in the Purple, Crimson, Magenta family: RGB(221, 175, 252), HSL(276°, 93%, 84%), CMYK(12%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.81:1 on white and 11.61:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ddaffc
RGBrgb(221 175 252)
RGB (legacy)rgb(221, 175, 252)
RGB %rgb(87% 69% 99%)
HSLhsl(276 93% 84%)
HSV / HSBhsv(276, 31%, 99%)
HWBhwb(276 69% 1%)
CMYKcmyk(12%, 31%, 0%, 1%)
CIELAB (D50)lab(77.71 27.56 -31.89)
LCHlch(77.71 42.15 310.83)
OKLaboklab(0.8216 0.0764 -0.0873)
OKLCHoklch(0.8216 0.116 311.18)
Decimal14528508

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 4.9
Closest web-safe color#cc99ff
Hue276°
Saturation (HSL / HSV)93% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)77% / 75%
Relative luminance (WCAG)0.5306
Red / Green / Blue221 / 175 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.81:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.61: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 33.6 / -69 · As background with white / black text: Lc -37.6 / 70.3

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: #ddaffc;
  --color-brand-oklch: oklch(82.16% 0.116 311.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(221 175 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ddaffc] text-[#ddaffc] border-[#ddaffc]">