#E79DFD

A color in the Purple, Crimson, Magenta family

#e79dfd is a color in the Purple, Crimson, Magenta family: RGB(231, 157, 253), HSL(286°, 96%, 80%), CMYK(9%, 38%, 0%, 1%). Closest named color: plum. Contrast is 1.97:1 on white and 10.64:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e79dfd
RGBrgb(231 157 253)
RGB (legacy)rgb(231, 157, 253)
RGB %rgb(91% 62% 99%)
HSLhsl(286 96% 80%)
HSV / HSBhsv(286, 38%, 99%)
HWBhwb(286 62% 1%)
CMYKcmyk(9%, 38%, 0%, 1%)
CIELAB (D50)lab(74.76 40.06 -36.84)
LCHlch(74.76 54.42 317.4)
OKLaboklab(0.8015 0.1136 -0.1013)
OKLCHoklch(0.8015 0.1522 318.25)
Decimal15179261

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5.1
Closest web-safe color#ff99ff
Hue286°
Saturation (HSL / HSV)96% / 38%
Lightness (HSL)80%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)75% / 70%
Relative luminance (WCAG)0.4819
Red / Green / Blue231 / 157 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.97:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.64: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 37.9 / -64.5 · As background with white / black text: Lc -42.3 / 66

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