#DFD2F7

A color in the Violet family

#dfd2f7 is a color in the Violet family: RGB(223, 210, 247), HSL(261°, 70%, 90%), CMYK(10%, 15%, 0%, 3%). Closest named color: lavender. Contrast is 1.43:1 on white and 14.7:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd2f7
RGBrgb(223 210 247)
RGB (legacy)rgb(223, 210, 247)
RGB %rgb(87% 82% 97%)
HSLhsl(261 70% 90%)
HSV / HSBhsv(261, 15%, 97%)
HWBhwb(261 82% 3%)
CMYKcmyk(10%, 15%, 0%, 3%)
CIELAB (D50)lab(86.14 9.78 -16.52)
LCHlch(86.14 19.2 300.64)
OKLaboklab(0.8858 0.0271 -0.0445)
OKLCHoklch(0.8858 0.0521 301.35)
Decimal14668535

Properties

Color ToneViolet
Closest named colorlavender ΔE 5.3
Closest web-safe color#ccccff
Hue261°
Saturation (HSL / HSV)70% / 15%
Lightness (HSL)90%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)86% / 84%
Relative luminance (WCAG)0.685
Red / Green / Blue223 / 210 / 247

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.70: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.6 / -82.8 · As background with white / black text: Lc -23.4 / 83.1

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