Skip to content

#EC8AF9 Color

#EC8AF9 is rgb(236, 138, 249) in RGB, hsl(293, 90%, 76%) in HSL, and about cmyk(5%, 45%, 0%, 2%) in CMYK. It has no registered color name of its own — the closest is Lavender Magenta (#EE82EE), very hard to tell apart at ΔE 4.81. Black text is the more readable choice on this background.

#EC8AF9
HEX#EC8AF9
RGBrgb(236, 138, 249)
HSLhsl(293, 90%, 76%)
HSVhsv(293, 45%, 98%)
CMYKcmyk(5%, 45%, 0%, 2%)
OKLCHoklch(77.6% 0.182 322.7)
LABlab(71.30% 50.38 -39.97)
LCHlch(71.30% 64.30 321.57)

What #EC8AF9 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #EC8AF9, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#EC8AF9 Channel Values

How #EC8AF9 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 236 · G 138 · B 2498-bit channels as sent to the display
HSLH 293° · S 90% · L 76%Easiest model for building lighter and darker variants
HSVH 293° · S 45% · V 98%Matches the picker in most design tools
CMYKC 5% · M 45% · Y 0% · K 2%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.19:1 vs white · 9.57:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #EC8AF9 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.19:1AA normal AA large AAA normal
TextBlack text9.57:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #EC8AF9 in the contrast checker.

Colors That Go With #EC8AF9

Pairings derived from color-wheel relationships. The complementary color sits opposite #EC8AF9; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #EC8AF9

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #EC8AF9.

How #EC8AF9 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#EC8AF9
Protanopia#A0A0F9
Protanomaly#C398F9
Deuteranopia#B2B2F7
Deuteranomaly#CCA4F8
Tritanopia#E19E9E
Tritanomaly#E596C9
Achromatopsia#AFAFAF

Test a full palette in the color blindness simulator.

Using #EC8AF9 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-ec8af9: #EC8AF9;
CSS backgroundbackground-color: #EC8AF9;
Tailwind configcolors: { 'color-ec8af9': '#EC8AF9' }
SwiftUIColor(red: 0.925, green: 0.541, blue: 0.976)
Android XML<color name="color_ec8af9">#EC8AF9</color>
SVG fillfill="#EC8AF9"

More Pink Colors

#EC8AF9 sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#EC8AF9 Frequently Asked Questions

What color is #EC8AF9?

#EC8AF9 is a light pink — rgb(236, 138, 249) in RGB and hsl(293, 90%, 76%) in HSL. It carries no registered color name of its own; the closest named color is Lavender Magenta (#EE82EE), which is very hard to tell apart at a CIE76 distance of 4.81.

What is the RGB value of #EC8AF9?

#EC8AF9 is rgb(236, 138, 249) — red 236, green 138, and blue 249 on the 0-255 scale.

What is the CMYK value of #EC8AF9?

#EC8AF9 converts to approximately cmyk(5%, 45%, 0%, 2%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #EC8AF9 be black or white?

Black text is the more readable choice. #EC8AF9 scores 2.19:1 against white and 9.57:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #EC8AF9 as a CSS color keyword?

No. #EC8AF9 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is violet (#EE82EE) at a CIE76 distance of 4.81, which is very hard to tell apart.

Open #EC8AF9 in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.