More
More
#EF8DEE colour
#EF8DEE is a light magenta close to CSS violet. RGB 239, 141, 238, HSL 301, 75%, 75%. Black text passes AAA (9.71:1), white fails (2.16:1).
- Nearest CSS name
violet#ee82ee (not an exact match)- Described as
- a light magenta
- Red, green, blue
- 239, 141, 238
- Web safe
- No
- Luminance
- 0.4357 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #ef8dee | |
|---|---|---|
| RGB | rgb(239, 141, 238) | |
| RGB (percent) | rgb(93.7% 55.3% 93.3%) | |
| HSL | hsl(300.6, 75.4%, 74.5%) | |
| HSV / HSB | hsv(300.6, 41%, 93.7%) | |
| HWB | hwb(300.6 55.3% 6.3%) | |
| CMYK (naive) | cmyk(0%, 41%, 0%, 6%) | |
| CIELAB (D50) | lab(71.88% 48.37 -33.04) | |
| OKLCH | oklch(77.89% 0.1688 327.41) | |
| Decimal | 15699438 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 2.16:1 | Fail | Fail | Fail | Fail |
| Black | 9.71:1 | Pass | Pass | Pass | Pass |
Black text is the better choice on #EF8DEE (9.71:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #ef8dee; | |
|---|---|---|
| Background | background-color: #ef8dee; | |
| Border | border: 1px solid #ef8dee; | |
| Half transparent | background-color: rgb(239 141 238 / 50%); | |
| Custom property | --colour-main: #ef8dee; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #ef8dee, #8f558f); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #f5bbf5, #ef8dee); | |
| Text on this colour | background-color: #ef8dee; color: #000; |
Similar named colours
violet#ee82ee, distance 2.4plum#dda0dd, distance 6.1orchid#da70d6, distance 7.8hotpink#ff69b4, distance 9.7thistle#d8bfd8, distance 13.6palevioletred#db7093, distance 13.7#8def8eComplement of #EF8DEE
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #EF8DEE to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.