#DFD2EC

A color in the Violet family

#dfd2ec is a color in the Violet family: RGB(223, 210, 236), HSL(270°, 41%, 87%), CMYK(6%, 11%, 0%, 7%). Closest named color: gainsboro. Contrast is 1.44:1 on white and 14.57:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd2ec
RGBrgb(223 210 236)
RGB (legacy)rgb(223, 210, 236)
RGB %rgb(87% 82% 93%)
HSLhsl(270 41% 87%)
HSV / HSBhsv(270, 11%, 93%)
HWBhwb(270 82% 7%)
CMYKcmyk(6%, 11%, 0%, 7%)
CIELAB (D50)lab(85.86 8.17 -11.14)
LCHlch(85.86 13.82 306.26)
OKLaboklab(0.8821 0.0233 -0.0299)
OKLCHoklch(0.8821 0.0379 307.99)
Decimal14668524

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 4
Closest web-safe color#ccccff
Hue270°
Saturation (HSL / HSV)41% / 11%
Lightness (HSL)87%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6784
Red / Green / Blue223 / 210 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.57: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 21.1 / -82.2 · As background with white / black text: Lc -24 / 82.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: #dfd2ec;
  --color-brand-oklch: oklch(88.21% 0.0379 307.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 210 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd2ec] text-[#dfd2ec] border-[#dfd2ec]">