#D176F2#D176F2
#D176F2 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.194 H 316.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D176F2 |
|---|---|
| RGB | rgb(209, 118, 242) |
| HSL | hsl(284, 83%, 71%) |
| HSV | hsv(284, 51%, 95%) |
| CMYK | cmyk(13.6%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(64.10, 55.11, -48.03) |
| CIE-LCH | lch(64.10, 73.10, 318.92°) |
| OKLab | oklab(71.35% 0.1403 -0.1337) |
| OKLCH | oklch(71.35% 0.194 316.4) |
| XYZ | xyz(48.7976, 32.9245, 87.7718) |
| Luminance | 0.3292 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.62
Easter Purple
#C071FE
ΔE00 4.41
Bright Lilac
#C95EFB
ΔE00 5.56
Bright Lavender
#C760FF
ΔE00 5.64
Orchid
#DA70D6
ΔE00 5.66
Light Urple
#B36FF6
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D176F2 #97F276
analogous
#9376F2 #D176F2 #F276D5
triadic
#D176F2 #F2D176 #76F2D1
tetradic
#D176F2 #F29376 #97F276 #76D5F2
square
#D176F2 #F29376 #97F276 #76D5F2
split-complementary
#D176F2 #D5F276 #76F293
monochromatic
#A515D9 #BE3EED #D176F2 #E4AEF7 #F6E3FC
Accessibility & contrast
On white
2.77
#D176F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.58
#D176F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D176F2
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D176F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D176F2 | 1.00 | 2.77 | 7.58 | 7.58 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#D089A9
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d176f2; /* rgb */ color: rgb(209, 118, 242); /* oklch */ color: oklch(71.4% 0.194 316.4);
Tailwind
colors: {
custom: {
50: '#e1a0f7',
500: '#d176f2',
950: '#000000',
},
}SCSS
$custom: #d176f2; $custom-light: #e1a0f7; $custom-dark: #000000;
JSON
{
"hex": "#d176f2",
"rgb": {
"r": 209,
"g": 118,
"b": 242
},
"hsl": {
"h": 284.032,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.71353,
"c": 0.19374,
"h": 316.4
},
"luminance": 0.32923
}Semantic roles & 50–950 ramp
primary
#D176F2
secondary
#DAF3D1
accent
#DF0640
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85