#EE97FF

A color in the Purple, Crimson, Magenta family

#ee97ff is a color in the Purple, Crimson, Magenta family: RGB(238, 151, 255), HSL(290°, 100%, 80%), CMYK(7%, 41%, 0%, 0%). Closest named color: violet. Contrast is 2:1 on white and 10.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ee97ff
RGBrgb(238 151 255)
RGB (legacy)rgb(238, 151, 255)
RGB %rgb(93% 59% 100%)
HSLhsl(290 100% 80%)
HSV / HSBhsv(290, 41%, 100%)
HWBhwb(290 59% 0%)
CMYKcmyk(7%, 41%, 0%, 0%)
CIELAB (D50)lab(74.36 45.53 -38.46)
LCHlch(74.36 59.6 319.81)
OKLaboklab(0.8003 0.1303 -0.106)
OKLCHoklch(0.8003 0.168 320.89)
Decimal15636479

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 4.7
Closest web-safe color#ff99ff
Hue290°
Saturation (HSL / HSV)100% / 41%
Lightness (HSL)80%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)74% / 69%
Relative luminance (WCAG)0.4753
Red / Green / Blue238 / 151 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.00:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.51: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 38.5 / -63.9 · As background with white / black text: Lc -42.9 / 65.5

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: #ee97ff;
  --color-brand-oklch: oklch(80.03% 0.168 320.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(238 151 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ee97ff] text-[#ee97ff] border-[#ee97ff]">