#EF8AEB

A color in the Purple, Crimson, Magenta family

#ef8aeb is a color in the Purple, Crimson, Magenta family: RGB(239, 138, 235), HSL(302°, 76%, 74%), CMYK(0%, 42%, 2%, 6%). Closest named color: violet. Contrast is 2.21:1 on white and 9.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ef8aeb
RGBrgb(239 138 235)
RGB (legacy)rgb(239, 138, 235)
RGB %rgb(94% 54% 92%)
HSLhsl(302 76% 74%)
HSV / HSBhsv(302, 42%, 94%)
HWBhwb(302 54% 6%)
CMYKcmyk(0%, 42%, 2%, 6%)
CIELAB (D50)lab(71.19 49.42 -32.47)
LCHlch(71.19 59.13 326.69)
OKLaboklab(0.7732 0.1458 -0.0893)
OKLCHoklch(0.7732 0.171 328.51)
Decimal15698667

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.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 43.2 / -59 · As background with white / black text: Lc -47.9 / 60.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: #ef8aeb;
  --color-brand-oklch: oklch(77.32% 0.171 328.51);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(239 138 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ef8aeb] text-[#ef8aeb] border-[#ef8aeb]">