Color #EC40DB Color / Colour Code #EC40DB
This page shows the hex color code for color #ec40db (#EC40DB). The colour is a purple tone with 82% saturation and 59% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #EC40DB against common backgrounds.
Complementary Colors
#EC40DB paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 276, 306, and 336 degrees for harmonious combinations.
Triadic Palette
Three colors at 306, 66, and 186 degrees.
Color Palettes Using #EC40DB
Five shades at lightness levels 15% through 85% while keeping hue at 306 and saturation at 82%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 306 to 351 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 306 with its complement at 126 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #EC40DB
Lightness variations at hue 306 and 82% saturation.
CSS Gradients with #EC40DB
Design Use Cases for #EC40DB
Vibrant Brand Color
#EC40DB has a strong 82% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.
Soft Accent & Highlight
With 59% lightness, #EC40DB has a softer, more approachable quality. It works well for hover states, subtle highlights, progress indicators, and secondary UI elements. This lightness range is particularly effective for tag backgrounds and status indicators.
Creativity & Premium Positioning
#EC40DB falls in the purple spectrum (hue 306). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.
Gradient Pairing
Create a gradient from #EC40DB (hue 306) to its complement at hue 126. For a subtler effect, try pairing with an analogous color at hue 336. Use CSS: background: linear-gradient(135deg, #ec40db, #41ec52);
CSS Code for #EC40DB
Similar Colors
Colors visually similar to #EC40DB based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #EC40DB across image editing and color design tools.
About Color #EC40DB (#EC40DB)
#EC40DB is a purple color (colour) with RGB channel values of 236 red, 64 green, and 219 blue. The red channel is dominant by a ratio of 3.7:1 over the weakest channel. In HSL terms, the hue sits at 306 degrees with 82% saturation and 59% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #EC40DB is 133/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This is a medium-brightness color that can work with either dark or light text depending on font weight and size. For print production, the CMYK equivalent is 0% cyan, 73% magenta, 7% yellow, and 7% key (black).
The WCAG contrast ratio of #EC40DB against white is 3.32:1 and against black is 6.32:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 6.32:1.
The complementary colour #41EC52 creates maximum visual tension when paired with #EC40DB. For more harmonious color combinations, use the analogous colours #A841EC and #EC4185, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #EC40DB
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #EC40DB?
- #EC40DB is Color #EC40DB, a purple color (colour) with RGB(236, 64, 219), HSL(306, 82%, 59%), and CMYK(0%, 73%, 7%, 7%). Its perceived brightness is 133/255.
- Is #EC40DB accessible for text?
- Against white, #EC40DB has a contrast ratio of 3.32:1 (fails AA for normal text). Against black, it has 6.32:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
- What colours pair well with #EC40DB?
- The complementary colour is #41EC52 (hue 126). For subtle color combinations, use analogous colours #A841EC and #EC4185. The triadic palette adds #DBEC41 and #41DBEC for vibrant variety.
- How do I use #EC40DB in CSS?
- Use any format: color: #ec40db; or rgb(236, 64, 219); or hsl(306, 82%, 59%). For CSS custom properties: --color-primary: 306 82% 59%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.