#D7CDFD

A color in the Violet family

#d7cdfd is a color in the Violet family: RGB(215, 205, 253), HSL(252°, 92%, 90%), CMYK(15%, 19%, 0%, 1%). Closest named color: thistle. Contrast is 1.5:1 on white and 14.04:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d7cdfd
RGBrgb(215 205 253)
RGB (legacy)rgb(215, 205, 253)
RGB %rgb(84% 80% 99%)
HSLhsl(252 92% 90%)
HSV / HSBhsv(252, 19%, 99%)
HWBhwb(252 80% 1%)
CMYKcmyk(15%, 19%, 0%, 1%)
CIELAB (D50)lab(84.4 10.53 -22.35)
LCHlch(84.4 24.71 295.22)
OKLaboklab(0.8719 0.0276 -0.0605)
OKLCHoklch(0.8719 0.0665 294.53)
Decimal14142973

Properties

Color ToneViolet
Closest named colorthistle ΔE 5.3
Closest web-safe color#ccccff
Hue252°
Saturation (HSL / HSV)92% / 19%
Lightness (HSL)90%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)84% / 83%
Relative luminance (WCAG)0.652
Red / Green / Blue215 / 205 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.04: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 23.3 / -80 · As background with white / black text: Lc -26.4 / 80.5

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: #d7cdfd;
  --color-brand-oklch: oklch(87.19% 0.0665 294.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(215 205 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d7cdfd] text-[#d7cdfd] border-[#d7cdfd]">