#DFD5EA

A color in the Violet family

#dfd5ea is a color in the Violet family: RGB(223, 213, 234), HSL(269°, 33%, 88%), CMYK(5%, 9%, 0%, 8%). Closest named color: gainsboro. Contrast is 1.41:1 on white and 14.84:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd5ea
RGBrgb(223 213 234)
RGB (legacy)rgb(223, 213, 234)
RGB %rgb(87% 84% 92%)
HSLhsl(269 33% 88%)
HSV / HSBhsv(269, 9%, 92%)
HWBhwb(269 84% 8%)
CMYKcmyk(5%, 9%, 0%, 8%)
CIELAB (D50)lab(86.56 6.4 -9.06)
LCHlch(86.56 11.1 305.25)
OKLaboklab(0.8873 0.0183 -0.0242)
OKLCHoklch(0.8873 0.0304 307.09)
Decimal14669290

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 3.1
Closest web-safe color#ccccff
Hue269°
Saturation (HSL / HSV)33% / 9%
Lightness (HSL)88%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)86% / 85%
Relative luminance (WCAG)0.6922
Red / Green / Blue223 / 213 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.84: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 20 / -83.4 · As background with white / black text: Lc -22.8 / 83.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: #dfd5ea;
  --color-brand-oklch: oklch(88.73% 0.0304 307.09);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 213 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd5ea] text-[#dfd5ea] border-[#dfd5ea]">