#D181F6#D181F6
#D181F6 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.2% C 0.181 H 314.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #D181F6 |
|---|---|
| RGB | rgb(209, 129, 246) |
| HSL | hsl(281, 87%, 74%) |
| HSV | hsv(281, 48%, 96%) |
| CMYK | cmyk(15%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(66.45, 50.31, -46.53) |
| CIE-LCH | lch(66.45, 68.53, 317.24°) |
| OKLab | oklab(73.16% 0.126 -0.1293) |
| OKLCH | oklch(73.16% 0.181 314.2) |
| XYZ | xyz(50.7766, 35.9109, 91.4276) |
| Luminance | 0.3591 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.22
Liliac
#C48EFD
ΔE00 4.36
Easter Purple
#C071FE
ΔE00 5.41
Violet (CSS)
#EE82EE
ΔE00 6.06
Baby Purple
#CA9BF7
ΔE00 6.58
Orchid
#DA70D6
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D181F6 #A6F681
analogous
#9681F6 #D181F6 #F681E0
triadic
#D181F6 #F6D181 #81F6D1
tetradic
#D181F6 #F69681 #A6F681 #81E0F6
square
#D181F6 #F69681 #A6F681 #81E0F6
split-complementary
#D181F6 #E0F681 #81F696
monochromatic
#A711EC #BC48F2 #D181F6 #E6BAFA #F5E2FD
Accessibility & contrast
On white
2.57
#D181F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#D181F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D181F6
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D181F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D181F6 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7FA4F3
Tritanopia (blue-blind)
#CE93B0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d181f6; /* rgb */ color: rgb(209, 129, 246); /* oklch */ color: oklch(73.2% 0.181 314.2);
Tailwind
colors: {
custom: {
50: '#e1a8f9',
500: '#d181f6',
950: '#000000',
},
}SCSS
$custom: #d181f6; $custom-light: #e1a8f9; $custom-dark: #000000;
JSON
{
"hex": "#d181f6",
"rgb": {
"r": 209,
"g": 129,
"b": 246
},
"hsl": {
"h": 281.026,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.73158,
"c": 0.18057,
"h": 314.2
},
"luminance": 0.3591
}Semantic roles & 50–950 ramp
primary
#D181F6
secondary
#E0F5D6
accent
#E30249
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85