Color #D166D8 Color / Colour Code #D166D8
This page shows the hex color code for color #d166d8 (#D166D8). The colour is a purple tone with 59% saturation and 62% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #D166D8 against common backgrounds.
Complementary Colors
#D166D8 paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 266, 296, and 326 degrees for harmonious combinations.
Triadic Palette
Three colors at 296, 56, and 176 degrees.
Color Palettes Using #D166D8
Five shades at lightness levels 15% through 85% while keeping hue at 296 and saturation at 59%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 296 to 341 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 296 with its complement at 116 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 #D166D8
Lightness variations at hue 296 and 59% saturation.
CSS Gradients with #D166D8
Design Use Cases for #D166D8
Balanced UI Color
At 59% saturation, #D166D8 strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Soft Accent & Highlight
With 62% lightness, #D166D8 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
#D166D8 falls in the purple spectrum (hue 296). 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 #D166D8 (hue 296) to its complement at hue 116. For a subtler effect, try pairing with an analogous color at hue 326. Use CSS: background: linear-gradient(135deg, #d166d8, #6dd765);
CSS Code for #D166D8
Similar Colors
Colors visually similar to #D166D8 based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #D166D8 across image editing and color design tools.
About Color #D166D8 (#D166D8)
#D166D8 is a purple color (colour) with RGB channel values of 209 red, 102 green, and 216 blue. The blue channel is dominant by a ratio of 2.1:1 over the weakest channel. In HSL terms, the hue sits at 296 degrees with 59% saturation and 62% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #D166D8 is 147/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 3% cyan, 53% magenta, 0% yellow, and 15% key (black).
The WCAG contrast ratio of #D166D8 against white is 3.18:1 and against black is 6.60: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.60:1.
The complementary colour #6DD765 creates maximum visual tension when paired with #D166D8. For more harmonious color combinations, use the analogous colours #9665D7 and #D765A6, 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 #D166D8
- 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 #D166D8?
- #D166D8 is Color #D166D8, a purple color (colour) with RGB(209, 102, 216), HSL(296, 59%, 62%), and CMYK(3%, 53%, 0%, 15%). Its perceived brightness is 147/255.
- Is #D166D8 accessible for text?
- Against white, #D166D8 has a contrast ratio of 3.18:1 (fails AA for normal text). Against black, it has 6.60: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 #D166D8?
- The complementary colour is #6DD765 (hue 116). For subtle color combinations, use analogous colours #9665D7 and #D765A6. The triadic palette adds #D7D065 and #65D7D0 for vibrant variety.
- How do I use #D166D8 in CSS?
- Use any format: color: #d166d8; or rgb(209, 102, 216); or hsl(296, 59%, 62%). For CSS custom properties: --color-primary: 296 59% 62%; 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.