#E793FE

A color in the Purple, Crimson, Magenta family

#e793fe is a color in the Purple, Crimson, Magenta family: RGB(231, 147, 254), HSL(287°, 98%, 79%), CMYK(9%, 42%, 0%, 0%). Closest named color: violet. Contrast is 2.1:1 on white and 10:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e793fe
RGBrgb(231 147 254)
RGB (legacy)rgb(231, 147, 254)
RGB %rgb(91% 58% 100%)
HSLhsl(287 98% 79%)
HSV / HSBhsv(287, 42%, 100%)
HWBhwb(287 58% 0%)
CMYKcmyk(9%, 42%, 0%, 0%)
CIELAB (D50)lab(72.7 45.17 -40.57)
LCHlch(72.7 60.72 318.07)
OKLaboklab(0.7863 0.1278 -0.1119)
OKLCHoklch(0.7863 0.1699 318.79)
Decimal15176702

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 3.9
Closest web-safe color#ff99ff
Hue287°
Saturation (HSL / HSV)98% / 42%
Lightness (HSL)79%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)72% / 68%
Relative luminance (WCAG)0.4501
Red / Green / Blue231 / 147 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.00: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.8 / -61.4 · As background with white / black text: Lc -45.4 / 63.1

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: #e793fe;
  --color-brand-oklch: oklch(78.63% 0.1699 318.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(231 147 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e793fe] text-[#e793fe] border-[#e793fe]">