#D79DFD

A color in the Purple, Crimson, Magenta family

#d79dfd is a color in the Purple, Crimson, Magenta family: RGB(215, 157, 253), HSL(276°, 96%, 80%), CMYK(15%, 38%, 0%, 1%). Closest named color: plum. Contrast is 2.07:1 on white and 10.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d79dfd
RGBrgb(215 157 253)
RGB (legacy)rgb(215, 157, 253)
RGB %rgb(84% 62% 99%)
HSLhsl(276 96% 80%)
HSV / HSBhsv(276, 38%, 99%)
HWBhwb(276 62% 1%)
CMYKcmyk(15%, 38%, 0%, 1%)
CIELAB (D50)lab(73.05 34.97 -39.65)
LCHlch(73.05 52.87 311.41)
OKLaboklab(0.7855 0.0953 -0.1092)
OKLCHoklch(0.7855 0.145 311.12)
Decimal14130685

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5
Closest web-safe color#cc99ff
Hue276°
Saturation (HSL / HSV)96% / 38%
Lightness (HSL)80%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)73% / 69%
Relative luminance (WCAG)0.4565
Red / Green / Blue215 / 157 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.13: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 40.3 / -62 · As background with white / black text: Lc -44.9 / 63.6

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