#DFD2F4

A color in the Violet family

#dfd2f4 is a color in the Violet family: RGB(223, 210, 244), HSL(263°, 61%, 89%), CMYK(9%, 14%, 0%, 4%). Closest named color: gainsboro. Contrast is 1.43:1 on white and 14.66:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd2f4
RGBrgb(223 210 244)
RGB (legacy)rgb(223, 210, 244)
RGB %rgb(87% 82% 96%)
HSLhsl(263 61% 89%)
HSV / HSBhsv(263, 14%, 96%)
HWBhwb(263 82% 4%)
CMYKcmyk(9%, 14%, 0%, 4%)
CIELAB (D50)lab(86.06 9.34 -15.06)
LCHlch(86.06 17.72 301.81)
OKLaboklab(0.8848 0.0261 -0.0405)
OKLCHoklch(0.8848 0.0481 302.79)
Decimal14668532

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 4.9
Closest web-safe color#ccccff
Hue263°
Saturation (HSL / HSV)61% / 14%
Lightness (HSL)89%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6831
Red / Green / Blue223 / 210 / 244

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.66: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.7 / -82.6 · As background with white / black text: Lc -23.6 / 83

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: #dfd2f4;
  --color-brand-oklch: oklch(88.48% 0.0481 302.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 210 244 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd2f4] text-[#dfd2f4] border-[#dfd2f4]">