#E18AFA

A color in the Purple, Crimson, Magenta family

#e18afa is a color in the Purple, Crimson, Magenta family: RGB(225, 138, 250), HSL(287°, 92%, 76%), CMYK(10%, 45%, 0%, 2%). Closest named color: violet. Contrast is 2.28:1 on white and 9.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e18afa
RGBrgb(225 138 250)
RGB (legacy)rgb(225, 138, 250)
RGB %rgb(88% 54% 98%)
HSLhsl(287 92% 76%)
HSV / HSBhsv(287, 45%, 98%)
HWBhwb(287 54% 2%)
CMYKcmyk(10%, 45%, 0%, 2%)
CIELAB (D50)lab(70.01 47.15 -42.63)
LCHlch(70.01 63.57 317.88)
OKLaboklab(0.7643 0.1328 -0.1179)
OKLCHoklch(0.7643 0.1775 318.41)
Decimal14781178

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.9
Closest web-safe color#cc99ff
Hue287°
Saturation (HSL / HSV)92% / 45%
Lightness (HSL)76%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)69% / 65%
Relative luminance (WCAG)0.4109
Red / Green / Blue225 / 138 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.28:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.22: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 44.6 / -57.5 · As background with white / black text: Lc -49.5 / 59.3

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: #e18afa;
  --color-brand-oklch: oklch(76.43% 0.1775 318.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(225 138 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e18afa] text-[#e18afa] border-[#e18afa]">