#EF97FF

A color in the Purple, Crimson, Magenta family

#ef97ff is a color in the Purple, Crimson, Magenta family: RGB(239, 151, 255), HSL(291°, 100%, 80%), CMYK(6%, 41%, 0%, 0%). Closest named color: violet. Contrast is 1.99:1 on white and 10.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ef97ff
RGBrgb(239 151 255)
RGB (legacy)rgb(239, 151, 255)
RGB %rgb(94% 59% 100%)
HSLhsl(291 100% 80%)
HSV / HSBhsv(291, 41%, 100%)
HWBhwb(291 59% 0%)
CMYKcmyk(6%, 41%, 0%, 0%)
CIELAB (D50)lab(74.48 45.85 -38.27)
LCHlch(74.48 59.72 320.15)
OKLaboklab(0.8014 0.1315 -0.1054)
OKLCHoklch(0.8014 0.1685 321.27)
Decimal15702015

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.99:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.54: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.3 / -64.1 · As background with white / black text: Lc -42.7 / 65.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: #ef97ff;
  --color-brand-oklch: oklch(80.14% 0.1685 321.27);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 151 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ef97ff] text-[#ef97ff] border-[#ef97ff]">