#DED1F2

A color in the Violet family

#ded1f2 is a color in the Violet family: RGB(222, 209, 242), HSL(264°, 56%, 88%), CMYK(8%, 14%, 0%, 5%). Closest named color: gainsboro. Contrast is 1.45:1 on white and 14.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ded1f2
RGBrgb(222 209 242)
RGB (legacy)rgb(222, 209, 242)
RGB %rgb(87% 82% 95%)
HSLhsl(264 56% 88%)
HSV / HSBhsv(264, 14%, 95%)
HWBhwb(264 82% 5%)
CMYKcmyk(8%, 14%, 0%, 5%)
CIELAB (D50)lab(85.68 9.2 -14.58)
LCHlch(85.68 17.24 302.25)
OKLaboklab(0.8814 0.0258 -0.0392)
OKLCHoklch(0.8814 0.0469 303.32)
Decimal14602738

Properties

Color ToneViolet
Closest named colorgainsboro ΔE 4.9
Closest web-safe color#ccccff
Hue264°
Saturation (HSL / HSV)56% / 14%
Lightness (HSL)88%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)85% / 84%
Relative luminance (WCAG)0.6754
Red / Green / Blue222 / 209 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.51: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.4 / -82 · As background with white / black text: Lc -24.3 / 82.4

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: #ded1f2;
  --color-brand-oklch: oklch(88.14% 0.0469 303.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(222 209 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ded1f2] text-[#ded1f2] border-[#ded1f2]">