#D2CDFF

A color in the Violet family

#d2cdff is a color in the Violet family: RGB(210, 205, 255), HSL(246°, 100%, 90%), CMYK(18%, 20%, 0%, 0%). Closest named color: thistle. Contrast is 1.51:1 on white and 13.92:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d2cdff
RGBrgb(210 205 255)
RGB (legacy)rgb(210, 205, 255)
RGB %rgb(82% 80% 100%)
HSLhsl(246 100% 90%)
HSV / HSBhsv(246, 20%, 100%)
HWBhwb(246 80% 0%)
CMYKcmyk(18%, 20%, 0%, 0%)
CIELAB (D50)lab(84.05 9.21 -23.98)
LCHlch(84.05 25.69 291.01)
OKLaboklab(0.8687 0.023 -0.0649)
OKLCHoklch(0.8687 0.0689 289.46)
Decimal13815295

Properties

Color ToneViolet
Closest named colorthistle ΔE 5.5
Closest web-safe color#ccccff
Hue246°
Saturation (HSL / HSV)100% / 20%
Lightness (HSL)90%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)83% / 82%
Relative luminance (WCAG)0.6458
Red / Green / Blue210 / 205 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.51:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.92: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.8 / -79.4 · As background with white / black text: Lc -26.9 / 80

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: #d2cdff;
  --color-brand-oklch: oklch(86.87% 0.0689 289.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 205 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2cdff] text-[#d2cdff] border-[#d2cdff]">