#EF8AEE

A color in the Purple, Crimson, Magenta family

#ef8aee is a color in the Purple, Crimson, Magenta family: RGB(239, 138, 238), HSL(301°, 76%, 74%), CMYK(0%, 42%, 0%, 6%). Closest named color: violet. Contrast is 2.2:1 on white and 9.54:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ef8aee
RGBrgb(239 138 238)
RGB (legacy)rgb(239, 138, 238)
RGB %rgb(94% 54% 93%)
HSLhsl(301 76% 74%)
HSV / HSBhsv(301, 42%, 94%)
HWBhwb(301 54% 6%)
CMYKcmyk(0%, 42%, 0%, 6%)
CIELAB (D50)lab(71.29 49.81 -33.96)
LCHlch(71.29 60.29 325.72)
OKLaboklab(0.7745 0.1464 -0.0935)
OKLCHoklch(0.7745 0.1737 327.44)
Decimal15698670

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 1.8
Closest web-safe color#ff99ff
Hue301°
Saturation (HSL / HSV)76% / 42%
Lightness (HSL)74%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)70% / 65%
Relative luminance (WCAG)0.427
Red / Green / Blue239 / 138 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.20:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.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 43 / -59.2 · As background with white / black text: Lc -47.7 / 61

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: #ef8aee;
  --color-brand-oklch: oklch(77.45% 0.1737 327.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 138 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ef8aee] text-[#ef8aee] border-[#ef8aee]">