#D176EC#D176EC
#D176EC is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.188 H 318.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D176EC |
|---|---|
| RGB | rgb(209, 118, 236) |
| HSL | hsl(286, 76%, 69%) |
| HSV | hsv(286, 50%, 93%) |
| CMYK | cmyk(11.4%, 50%, 0%, 7.5%) |
| CIE-LAB | lab(63.81, 53.91, -45.17) |
| CIE-LCH | lch(63.81, 70.33, 320.04°) |
| OKLab | oklab(71.05% 0.1396 -0.1254) |
| OKLCH | oklch(71.05% 0.188 318.1) |
| XYZ | xyz(47.9112, 32.5700, 83.1035) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.25
Orchid
#DA70D6
ΔE00 4.74
Easter Purple
#C071FE
ΔE00 5.16
Bright Lilac
#C95EFB
ΔE00 6.01
Purply Pink
#F075E6
ΔE00 6.06
Violet (CSS)
#EE82EE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D176EC #91EC76
analogous
#9676EC #D176EC #EC76CC
triadic
#D176EC #ECD176 #76ECD1
tetradic
#D176EC #EC9676 #91EC76 #76CCEC
square
#D176EC #EC9676 #91EC76 #76CCEC
split-complementary
#D176EC #CCEC76 #76EC96
monochromatic
#A31CCB #BF40E5 #D176EC #E3ACF3 #F5E1FB
Accessibility & contrast
On white
2.79
#D176EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#D176EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D176EC
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D176EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D176EC | 1.00 | 2.79 | 7.51 | 7.51 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#D187A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d176ec; /* rgb */ color: rgb(209, 118, 236); /* oklch */ color: oklch(71.0% 0.188 318.1);
Tailwind
colors: {
custom: {
50: '#e1a0f2',
500: '#d176ec',
950: '#000000',
},
}SCSS
$custom: #d176ec; $custom-light: #e1a0f2; $custom-dark: #000000;
JSON
{
"hex": "#d176ec",
"rgb": {
"r": 209,
"g": 118,
"b": 236
},
"hsl": {
"h": 286.271,
"s": 75.641,
"l": 69.412
},
"oklch": {
"l": 0.71046,
"c": 0.18762,
"h": 318.1
},
"luminance": 0.32568
}Semantic roles & 50–950 ramp
primary
#D176EC
secondary
#D6F0CE
accent
#D80E3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85