#EA97FF

A color in the Purple, Crimson, Magenta family

#ea97ff is a color in the Purple, Crimson, Magenta family: RGB(234, 151, 255), HSL(288°, 100%, 80%), CMYK(8%, 41%, 0%, 0%). Closest named color: violet. Contrast is 2.03:1 on white and 10.37:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ea97ff
RGBrgb(234 151 255)
RGB (legacy)rgb(234, 151, 255)
RGB %rgb(92% 59% 100%)
HSLhsl(288 100% 80%)
HSV / HSBhsv(288, 41%, 100%)
HWBhwb(288 59% 0%)
CMYKcmyk(8%, 41%, 0%, 0%)
CIELAB (D50)lab(73.9 44.28 -39.21)
LCHlch(73.9 59.15 318.47)
OKLaboklab(0.796 0.1258 -0.1081)
OKLCHoklch(0.796 0.1659 319.34)
Decimal15374335

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.37: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 39.1 / -63.2 · As background with white / black text: Lc -43.6 / 64.8

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