#E97FFC

A color in the Purple, Crimson, Magenta family

#e97ffc is a color in the Purple, Crimson, Magenta family: RGB(233, 127, 252), HSL(291°, 95%, 74%), CMYK(8%, 50%, 0%, 1%). Closest named color: violet. Contrast is 2.36:1 on white and 8.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e97ffc
RGBrgb(233 127 252)
RGB (legacy)rgb(233, 127, 252)
RGB %rgb(91% 50% 99%)
HSLhsl(291 95% 74%)
HSV / HSBhsv(291, 50%, 99%)
HWBhwb(291 50% 1%)
CMYKcmyk(8%, 50%, 0%, 1%)
CIELAB (D50)lab(68.93 55.1 -45.32)
LCHlch(68.93 71.34 320.57)
OKLaboklab(0.7584 0.157 -0.1255)
OKLCHoklch(0.7584 0.2011 321.36)
Decimal15302652

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.5
Closest web-safe color#ff66ff
Hue291°
Saturation (HSL / HSV)95% / 50%
Lightness (HSL)74%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)68% / 62%
Relative luminance (WCAG)0.3953
Red / Green / Blue233 / 127 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.91: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 46.1 / -56 · As background with white / black text: Lc -51 / 57.9

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: #e97ffc;
  --color-brand-oklch: oklch(75.84% 0.2011 321.36);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(233 127 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e97ffc] text-[#e97ffc] border-[#e97ffc]">