#EF91EF

A color in the Purple, Crimson, Magenta family

#ef91ef is a color in the Purple, Crimson, Magenta family: RGB(239, 145, 239), HSL(300°, 75%, 75%), CMYK(0%, 39%, 0%, 6%). Closest named color: violet. Contrast is 2.11:1 on white and 9.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ef91ef
RGBrgb(239 145 239)
RGB (legacy)rgb(239, 145, 239)
RGB %rgb(94% 57% 94%)
HSLhsl(300 75% 75%)
HSV / HSBhsv(300, 39%, 94%)
HWBhwb(300 57% 6%)
CMYKcmyk(0%, 39%, 0%, 6%)
CIELAB (D50)lab(72.72 46.57 -32.31)
LCHlch(72.72 56.68 325.25)
OKLaboklab(0.7853 0.1367 -0.0888)
OKLCHoklch(0.7853 0.163 326.99)
Decimal15700463

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 3.3
Closest web-safe color#ff99ff
Hue300°
Saturation (HSL / HSV)75% / 39%
Lightness (HSL)75%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)72% / 67%
Relative luminance (WCAG)0.4483
Red / Green / Blue239 / 145 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.97: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 41 / -61.3 · As background with white / black text: Lc -45.6 / 62.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: #ef91ef;
  --color-brand-oklch: oklch(78.53% 0.163 326.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 145 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ef91ef] text-[#ef91ef] border-[#ef91ef]">