#DFD5FF

A color in the Violet family

#dfd5ff is a color in the Violet family: RGB(223, 213, 255), HSL(254°, 100%, 92%), CMYK(13%, 16%, 0%, 0%). Closest named color: lavender. Contrast is 1.39:1 on white and 15.1:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dfd5ff
RGBrgb(223 213 255)
RGB (legacy)rgb(223, 213, 255)
RGB %rgb(87% 84% 100%)
HSLhsl(254 100% 92%)
HSV / HSBhsv(254, 16%, 100%)
HWBhwb(254 84% 0%)
CMYKcmyk(13%, 16%, 0%, 0%)
CIELAB (D50)lab(87.09 9.51 -19.3)
LCHlch(87.09 21.52 296.22)
OKLaboklab(0.8943 0.0255 -0.0521)
OKLCHoklch(0.8943 0.058 296.12)
Decimal14669311

Properties

Color ToneViolet
Closest named colorlavender ΔE 4.9
Closest web-safe color#ccccff
Hue254°
Saturation (HSL / HSV)100% / 16%
Lightness (HSL)92%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.705
Red / Green / Blue223 / 213 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.10: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 19 / -84.5 · As background with white / black text: Lc -21.7 / 84.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: #dfd5ff;
  --color-brand-oklch: oklch(89.43% 0.058 296.12);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 213 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dfd5ff] text-[#dfd5ff] border-[#dfd5ff]">