#D2AFFC

A color in the Violet family

#d2affc is a color in the Violet family: RGB(210, 175, 252), HSL(267°, 93%, 84%), CMYK(17%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.86:1 on white and 11.28:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d2affc
RGBrgb(210 175 252)
RGB (legacy)rgb(210, 175, 252)
RGB %rgb(82% 69% 99%)
HSLhsl(267 93% 84%)
HSV / HSBhsv(267, 31%, 99%)
HWBhwb(267 69% 1%)
CMYKcmyk(17%, 31%, 0%, 1%)
CIELAB (D50)lab(76.66 23.97 -33.61)
LCHlch(76.66 41.28 305.5)
OKLaboklab(0.8116 0.0641 -0.0921)
OKLCHoklch(0.8116 0.1122 304.84)
Decimal13807612

Properties

Color ToneViolet
Closest named colorplum ΔE 5
Closest web-safe color#cc99ff
Hue267°
Saturation (HSL / HSV)93% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)76% / 74%
Relative luminance (WCAG)0.5139
Red / Green / Blue210 / 175 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.86:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.28: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 35.1 / -67.4 · As background with white / black text: Lc -39.3 / 68.8

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: #d2affc;
  --color-brand-oklch: oklch(81.16% 0.1122 304.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 175 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2affc] text-[#d2affc] border-[#d2affc]">